refactor(commands/mod): passing the rustfmt

This commit is contained in:
Raphael 2026-02-12 16:28:07 +01:00
parent 04bced81ed
commit 76cdbb4334
No known key found for this signature in database

View file

@ -1,6 +1,4 @@
use serenity::all::{ use serenity::all::{CommandInteraction, Context, CreateCommand};
CommandInteraction, Context, CreateCommand
};
include!("./mod_gen.rs"); include!("./mod_gen.rs");
@ -11,7 +9,8 @@ pub trait SlashCommand: Send + Sync {
fn register(&self) -> CreateCommand; fn register(&self) -> CreateCommand;
async fn run(&self, ctx: &Context, command: &CommandInteraction) -> Result<(), serenity::Error>; async fn run(&self, ctx: &Context, command: &CommandInteraction)
-> Result<(), serenity::Error>;
} }
pub struct CommandEntry { pub struct CommandEntry {