Initial setup of a modular Discord bot featuring reaction-role management. Includes slash commands for creating, listing, removing, and clearing reaction roles with support for unicode and custom emojis. Features persistent SQLite storage, automatic command and event loading, graceful shutdown handling, and structured logging. Designed with extensibility in mind for future commands and events.
13 lines
365 B
Bash
13 lines
365 B
Bash
# Discord bot token from the Developer Portal
|
|
DISCORD_TOKEN=
|
|
|
|
# Application (client) ID from the Developer Portal
|
|
DISCORD_CLIENT_ID=
|
|
|
|
# Optional: development guild ID for fast slash-command updates.
|
|
# Leave empty to deploy commands globally (may take up to 1 hour to propagate).
|
|
DISCORD_GUILD_ID=
|
|
|
|
# Path to the SQLite database file
|
|
DATABASE_PATH=./data/bot.sqlite
|