clean dossier commands et correction quelque commands

This commit is contained in:
Puechberty Arthur
2026-04-10 02:40:26 +02:00
parent 3e69185296
commit 572cfa17b2
139 changed files with 687 additions and 195 deletions
+7 -1
View File
@@ -1,7 +1,9 @@
use serenity::model::prelude::*;
use serenity::prelude::*;
use crate::commands::{advanced_tools, help, mp, perms_service, suggestion, tempvoc, ticket};
use crate::commands::{
advanced_tools, help, helpsetting, mp, perms_service, suggestion, tempvoc, ticket,
};
pub async fn handle_interaction_create(ctx: &Context, interaction: &Interaction) {
if let Interaction::Command(_) = interaction {
@@ -27,6 +29,10 @@ pub async fn handle_interaction_create(ctx: &Context, interaction: &Interaction)
return;
}
if helpsetting::handle_component_interaction(ctx, component).await {
return;
}
if mp::handle_mp_component(ctx, component).await {
return;
}