A discord bot to protect your servers.
node.js
v16.6
- Open a terminal in this folder and run
npm i
- Fill in the values in
config.json
{
// Discord bot token
"token": "",
// 2 events fired in under 2500 milliseconds = ban.
// 3 events fired in under 10000 milliseconds = ban.
"intervals": [2500, 10000],
// Your user ID
"developer-id": "",
// Bot prefix
"prefix": "=",
// Port (unimportant if you don't want to host it 24/7)
"port": 8000
}
- Run
node .
in the terminal