mirror of
https://github.com/arthur-pbty/shadowbot.git
synced 2026-06-10 19:04:31 +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 @@
|
||||
pub mod channel_event;
|
||||
pub mod guild_create_event;
|
||||
pub mod guild_member_event;
|
||||
pub mod handler;
|
||||
pub mod interaction_create_event;
|
||||
pub mod message_delete_event;
|
||||
pub mod message_event;
|
||||
pub mod message_update_event;
|
||||
pub mod ready_event;
|
||||
pub mod role_event;
|
||||
pub mod voice_state_update_event;
|
||||
Reference in New Issue
Block a user