This project is outdated! It will soon be upgraded to
Discord.js v12.3.1. If you want to see the progress of the work see @aurolia-css/majo-rebuild (official repo)
An advanced Discord bot, contains commands for moderation, fun, music, economics and NSFW.
Go to this link and authorize the bot (requires server manage premission) to your server.
We host this bot. Majo.exe will be online 24/7.
Deploy the app to Heroku
- Clone this repository,
- Run
npm install, - Grab a token and client secret on Discord's developer portal,
- Fill
config.jsonanddashboard.jsonwith your variables (dashboard.jsonis the config file for Web Dashboard, ignore this file if you not use Majo Dashboard), - Create a
.envfile and add aTOKENenvironmental variable whose value is the token above. (Do not remember! TheTOKENvalue is Super-Secret) - In
.envSetPREFIX- this is your bot prefix, aSECRET- this is your client secret variabble (Used for web-dashboard), a Google Trakcing ID (For Website analytics) -UA=TRACKING-IDif you don't have to use analytics just delete the settings value and add aDASHBOARD=[true/false]value - iftruethe bot will be hosted with web dasboard, iffalsethe bot will be hosted without web dashboard (The.envfile was private). - Run
node index.js
NOTE: See the example
.envfile below!
# Environment Config
# store your secrets and config variables in here
# only invited collaborators will be able to see your .env values
# reference these in your code with process.env.SECRET
TOKEN=YOUR-TOKEN-GOES-HERE
PREFIX=!majo
DASHBOARD=true
SECRET=YOUR-BOT-CLIENT-SECRET
UA=YOUR-GOOGLE-TRACKING-ID
# !majo is the default prefix, you can change it later.
# note: .env is a shell file so there can't be spaces around =
.env |
Description | Required |
|---|---|---|
| TOKEN | The bot token, required to run (Do not remember! The TOKEN value is Super-Secret) |
✔️ |
| PREFIX | The default bot prefix (eg. !majo) |
✔️ |
| DASHBOARD | The Web-Dashboard config value. (eg. true/false) |
❌ |
| SECRET | The bot client secret (Do not remember! The SECRET value is Super-Secret), required to run Web Dashboard |
❌ |
| UA | Google analytics tracking ID, used in Web-Dashboard | ❌ |
To test site in .env file set the DASHBOARD=true/false value. (See example .env file)
To set up your environment to develop this page, run bundle install.
To test site, run bundle exec jekyll serve and open your browser at http://localhost:4000. This starts a Jekyll server using your config and the contents. As you make modifications, your site will regenerate and you should see the changes in the browser after a refresh.
If you have any issues with the page please create new issue here
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.
This project is licensed under the MIT. See the LICENSE file for details

