Discord bot for server moderation.
Primarily built by @sudocode1.
This bot has all the moderation tools required for our Discord server. This includes banning, kicking, a warning system and a few more tools.
Feel free to contribute!
This bot is intended for use in one server, not across multiple servers.
- Node.js v15 (not tested on v14-)
- discord.js NPM package
- The bot files
- SERVER MEMBERS INTENT ENABLED
token.json
Content of token.json
:
{
"BOT_TOKEN": "YOUR_BOT_TOKEN",
"WEBHOOK_ID": "YOUR_DEBUG_WEBHOOK_ID",
"WEBHOOK_TOKEN": "YOUR_DEBUG_WEBHOOK_TOKEN"
}
WEBHOOK_ID
and WEBHOOK_TOKEN
are required if you enable debug
in the config.
We recommend that you change some elements of the code that are not editable in the config yet.
A primary example of this is ID_CHECK
in ban, kick, warn and unwarn. This should be your bots id.
Another example is bot.user.setActivity
(ClientUser#setActivity).
Contributions are welcome! Just make a pull request and we'll check if your code is useful. If it is, we'll probably add it!
If we deny your PR, we will always give a proper reason.
If your contribution gets denied, don't feel disheartened! You can always try adding something else that could be better for the bot.