mirror of
https://github.com/arthur-pbty/shadowbot.git
synced 2026-06-03 15:07:37 +02:00
3e69185296
- Implemented `handle_message_update` to log message edits. - Created role event handlers for role creation, update, and deletion. - Added voice state update handling to log channel changes. - Introduced a new `ready_event` handler to restore bot presence and enforce blacklist. - Updated `mod.rs` to include new event modules. - Enhanced `main.rs` for database connection and initialization. - Added comprehensive permission management in `permissions.rs`.
12 lines
241 B
Bash
12 lines
241 B
Bash
# Discord
|
|
BOT_TOKEN=change_me
|
|
FORCE_OWNER_IDS=671763971803447298
|
|
|
|
# PostgreSQL
|
|
POSTGRES_DB=shadowbot
|
|
POSTGRES_USER=shadowbot
|
|
POSTGRES_PASSWORD=change_me
|
|
|
|
# App database URL
|
|
DATABASE_URL=postgres://shadowbot:change_me@postgres:5432/shadowbot
|