A Discord bot to help moderate my personal Discord servers
- Automated spam prevention
- User details lookup
/config message_logging <log channel>- sets up deleted or edited message logging to the specified channel/config spam_autoban <threshold> <log channel>- sets up automated spam prevention, by banning users after a threshold is reached/user <user>- shows information on the specified user
- Create a
.envfile based off the.env.examplefile, you may need to prefix each non-blank line withexport - Run
source .env - Run the bot with
cargo run
- Create a
.envfile based off the.env.examplefile - Run
docker compose build - Run
docker compose up
- Ensure you have the SQLX CLI installed:
cargo install sqlx-cli - Generate a blank migration with
sqlx migrate add - Write the up and down SQL for your migration
- Run your migration with
sqlx migrate run