Watches a channel for any messages, bans the author of the message Used for trapping compromised discord accounts which spams @everyone at every channel
- Create a
.env
file with the template from.example.env
- Run
npm i
to install all dependencies - Register the slash commands to discord by running
npm run script:deploy
after inviting your discord bot to the server - Run
npm start
to run the bot
- Create a
.env
file with the template from.example.env
- Run
docker compose up -d
- Set the trap channel by running
/channel set [channelId]
- Use
/channel get
to see the current set channel - Toggle bot by using the
/channel enable [true|false]
command