Source code to host your own ban pool bot.
- Git
- Node.js v16.9.0+
- Discord.js v14
- Yarn
- A MongoDB cluster
- A Discord bot application
- You must have the Server Members Intent enabled.
git clone https://github.com/zayKenyon/Blacklist
- Fill in the required variables in
config.json.example
requiredPerms
must be a string chosen from here (in camelCase): https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags
- Rename
config.json.example
toconfig.json
yarn install
yarn run start
Each participating server must run the slash command /config log
.
Each participating server must have a channel following the announcement channel set in the config.json
.
📝
It's possible to rework this so that your bot will send messages into the channel submitted by each server, instead of the announcement channel.