feat: ajout des commandes rolemenu et slowmode avec gestion des interactions

This commit is contained in:
Puechberty Arthur
2026-04-10 07:11:14 +02:00
parent b6d8953c46
commit 82e6ed1ca6
6 changed files with 752 additions and 3 deletions
+4
View File
@@ -232,6 +232,7 @@ pub fn all_command_keys() -> Vec<String> {
"botadmins",
"boosters",
"rolemembers",
"rolemenu",
"serverinfo",
"vocinfo",
"role",
@@ -265,6 +266,7 @@ pub fn all_command_keys() -> Vec<String> {
"tempban",
"unban",
"banlist",
"slowmode",
"lock",
"unlock",
"lockall",
@@ -440,6 +442,7 @@ pub fn default_permission(command_key: &str) -> u8 {
| "tempban"
| "unban"
| "banlist"
| "slowmode"
| "lock"
| "unlock"
| "lockall"
@@ -451,6 +454,7 @@ pub fn default_permission(command_key: &str) -> u8 {
| "addrole"
| "delrole"
| "derank"
| "rolemenu"
| "modlog"
| "messagelog"
| "voicelog"