discord bot for odds & ends
- Create a
.envfile in the project root:
DISCORD_TOKEN="token"
CLIENT_SECRET="super-secret-secret"
GUILD_ID=12345
DB_PASSWORD="super-strong-password"- Start the bot and database:
docker compose up --buildDISCORD_TOKEN— Discord Developer Portal → your application → Bot → reset tokenCLIENT_SECRET— Discord Developer Portal → OAuth2 → reset secretGUILD_ID— right-click your server in Discord (requires Developer Mode) → Copy Server IDDB_PASSWORD— any strong password; only used internally between the bot and Postgres