mirror of
https://github.com/arthur-pbty/shadowbot.git
synced 2026-06-11 03:14:29 +02:00
dossier events a été normalisé en “1 fichier = 1 événement” avec noms alignés sur l’événement
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user