Commit Graph

6 Commits

Author SHA1 Message Date
Puechberty Arthur 00ae9cda11 netoyage et optimisation des commande pour que elle soit trier correctement 2026-04-10 17:57:12 +02:00
Puechberty Arthur 9a47588cdf netoyage des commands 2026-04-10 16:41:03 +02:00
Puechberty Arthur e0f40e9190 feat(moderation): add commands for anti-raid reset, mute role setting, spam overrides, strikes management, and timeout toggling
- Implemented `resetantiraide` command to reset anti-raid protections to default settings.
- Added `set_muterole` command to define the mute role when timeout mode is disabled.
- Created `spam` command to manage spam moderation channel overrides (allow, deny, reset).
- Developed `strikes` command to display and modify strike rules for various triggers.
- Introduced `timeout` command to toggle the use of Discord timeout for mutes.

feat(outils): add piconly command to manage photo-only channels

- Implemented `piconly` command to define or remove channels where only photos can be sent.
- Added functionality to enforce photo-only rules in designated channels.

feat(roles): add ancien and noderank commands for role management

- Created `ancien` command to set up a role for members after a specified delay.
- Implemented `noderank` command to manage protected roles that are not removed by derank actions.
2026-04-10 15:04:10 +02:00
Puechberty Arthur 82e6ed1ca6 feat: ajout des commandes rolemenu et slowmode avec gestion des interactions 2026-04-10 07:11:14 +02:00
Puechberty Arthur 572cfa17b2 clean dossier commands et correction quelque commands 2026-04-10 02:40:26 +02:00
Puechberty Arthur 3e69185296 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`.
2026-04-10 02:13:04 +02:00