dossier events a été normalisé en “1 fichier = 1 événement” avec noms alignés sur l’événement

This commit is contained in:
Puechberty Arthur
2026-04-10 18:14:09 +02:00
parent 313ecc7d0c
commit 4e02a25802
18 changed files with 84 additions and 55 deletions
+15
View File
@@ -0,0 +1,15 @@
use serenity::model::prelude::*;
use serenity::prelude::*;
use crate::commands::{admin_service, botconfig_service, help, tempvoc};
pub async fn handle_ready(ctx: &Context, ready: &Ready) {
botconfig_service::restore_presence_from_db(ctx).await;
help::register_slash_help(ctx).await;
tempvoc::cleanup_stale_rooms_on_ready(ctx).await;
for guild_id in ctx.cache.guilds() {
admin_service::enforce_blacklist_on_guild(ctx, guild_id).await;
}
println!("Connecté en tant que {}", ready.user.name);
}