A simple bot designated specially for doing little, fun and harmless cyberbullying on my discord server :) P.S. No one was offended.
Create a .env
file:
TOKEN=[BOT_TOKEN_HERE]
CLIENT_ID=[CLIENT_ID_HERE]
GUILD_ID=[GUILD_ID_HERE]
# role id (optional)
ROLE_ID=[ROLE_ID_HERE]
ROLE_ID
contains the id of the role that has access to use this bot. Also, it may be not specified, if you don't want
to restrict usage of the bot to a certain role.
If you want to configure this bot, edit the config.json
file. Default configuration:
{
"logs": {
"toFile": false
},
"execution": {
"totalDuration": 30,
"muteDuration": 3,
"muteTimeout": 1
},
"deportation": {
"moveCount": 10,
"moveTimeout": 0.75
}
}
- Go to Discord application page and create a bot, then invite it to your server
- Clone this repository locally
- Create the
.env
file and configure the bot - Start with Docker
- Run
docker compose up
- Run
- Or without
- Run
npm install
- Run
node deploy-commands.js
(only once when deploying) - Run
node bot.js
- Run
Name | Description |
---|---|
/execution start <user> |
Starts muting and unmuting specified user for a period of time |
/execution stop <user> |
Stops the execution on specified user |
/execution stopall |
Stops the execution on all users |
/execution list |
Displays all users under execution |
/deportation start <user> |
Starts moving specified users between server's voice channels |
/deportation clear |
Stops the deportation of all users |
This project is MIT licensed.