This is a custom bot used for moderation of a discord server with more than ~ 1800 members Updated and Maintained by Suertzz.
gitcommand line (Windows | Linux | MacOS) installednodeVersion 8.XmongodbLink to mongodb
In a command prompt in your projects folder (wherever that may be) run the following:
git clone git@github.com:Suertzz/discord-bot.git
Once finished:
- In the folder from where you ran the git command, run
cd discord-botand then runnpm install, which will install the required packages. - Set an environment variable
BOT_SECRETwith your discord token Link to discord - Create a database in mongodb and edit the URI in the bot URI Path
To start the bot, in the command prompt, run the following command:
node app.js