- Clone this repository
git clone https://github.com/IgorKowalczyk/majo.exe.git
- Go to
/packages/database/
directory and follow Database Setup tutorial - Grab a Discord Bot token and client secret on Discord's developer portal Tutorial
- Create new file or edit existing
.env
file in root directory of the project - In
.env
file set this values: - Run
pnpm i
to install all dependencies - Go to
/packages/config/
directory and change values in/configs/bot.js
to your values - Go back to main directory and run
pnpm run dev --filter="@majoexe/bot"
orpnpm run deploy --filter="@majoexe/bot"
to start bot - That's it! You can now invite your bot to your server and use it!
Note
If you want to host Majo.exe 24/7, you can use TrestHost or Terohost hosting services. They are cheap and reliable.
TOKEN=DISCORD_BOT_TOKEN
SECRET=SECRET_STRING
CLIENT_SECRET=DISCORD_BOT_SECRET
# ... Database credentials
Warning
This file should be in root directory of the project. This file is super secret, better to not share it!
Ensure your setup meets these prerequisites before setting up Majo.exe:
PostgreSQL 14x
or higherNode.js 18x
or higher(Any)
Linux x64¹~512MB
of RAM (minimum)~3GB
of hard drive space (minimum)
Note
1: Debian based distros are recommended, Dashboard can also run on Windows and MacOS but it's not recommended.
- Go to Discord Developer Portal
- At the top right of the screen, click "New application" and assign it a name. Next in the left part of the screen on the navigation bar, find "Bot" then click it and find button named "Add Bot"
- After confirming the bot creation, click the "Copy token" button
- Paste your token in
.env
file -TOKEN=BOT_TOKEN
Tutorial written by: _index1337
- Go to Discord Developer Portal
- In the left part of the screen on the bar, find "OAuth2" then click it
- Find section named "Client Secret", under the bot secret click "Copy" button
- Paste client secret to
.env
-CLIENT_SECRET=CLIENT_SECRET
Tutorial written by: _index1337
- @binary-blazer - Hosting support
- @TsukiyoDevs - Bug fixes, New features, Testing
- @r-kjha - Emoji config support, Bug fixes, New features, Testing
- @Joao-Victor-Liporini - Bug fixes, Command handler improvements, Testing, New features
- @evandev - Bug fixes, Testing
- iWeedy_ - Testing
- @krzesl0 - New Features, Bug fixes, Testing
- @_index1337 - Readme tutorials
- @Wafelowski - Translation improvements
- @Sakshyam6966 - New Features, Bug fixes, Testing
These wonderful people and services have helped develop Majo.exe, without them this project would not exist. Thanks goes to these wonderful people!
Sponsor | Description | |
---|---|---|
TrestHost | TrestHost is a good and powerful hosting provider providing servers from the USA and Germany. Try us out today! |
If you have any issues with the bot please create new issue here. When creating new issue please provide as much information as possible. If you can, please provide logs from console.
When submitting a pull request:
- Clone the repo.
- Create a branch off of
master
and give it a meaningful name (e.g.my-awesome-new-feature
). - Open a pull request on GitHub and describe the feature or fix.
We will review your pull request as soon as possible. We might suggest some changes or improvements.
This project is licensed under the MIT. See the LICENSE file for details