From 04bced81ed4d40247e1a552991010ba1f22868e8 Mon Sep 17 00:00:00 2001 From: Raphael Date: Thu, 12 Feb 2026 16:28:01 +0100 Subject: [PATCH] refactor(events/mod): passing the rustfmt --- src/events/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/events/mod.rs b/src/events/mod.rs index 233db65..eaace30 100644 --- a/src/events/mod.rs +++ b/src/events/mod.rs @@ -1,7 +1,7 @@ include!("./mod_gen.rs"); -use serenity::all::*; use crate::commands::SlashCommand; +use serenity::all::*; pub struct Bot { pub commands: Vec>, @@ -9,7 +9,6 @@ pub struct Bot { #[serenity::async_trait] impl EventHandler for Bot { - async fn ready(&self, ctx: Context, ready: Ready) { bot::ready::handle(&ctx, &ready, &self.commands).await; }