feat(command/moderation): adding the debug print to clear

This commit is contained in:
Raphael 2026-03-16 14:03:15 +01:00
parent 4f3badf5a8
commit d0bedf904c
No known key found for this signature in database

View file

@ -50,7 +50,7 @@ impl SlashCommand for Clear {
_database: &PgPool,
_emoji: &EmojiConfig,
) -> Result<()> {
debug!("Clear command called");
debug!("{} command called", self.name());
let amount: u8 = command.data.options.iter().find(|opt | opt.kind() == CommandOptionType::Integer)
.unwrap().value.as_i64().expect("REASON") as u8;
let message: CreateInteractionResponseMessage = CreateInteractionResponseMessage::new()