mirror of
https://github.com/arthur-pbty/shadowbot.git
synced 2026-06-03 15:07:37 +02:00
feat(events): add message update, role, and voice state update handlers
- 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`.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user