To set up the bot, first install the sqlx CLI with
cargo install sqlx-cliThen, create a .env file defining 2 variables DISCORD_TOKEN and DATABASE_URL like so:
DATABASE_URL="..."
DISCORD_TOKEN="..."Run
sqlx database createsqlx migrate runto create a new local competition database.
Use cargo run to run the bot.