diff --git a/swordfish/src/main.rs b/swordfish/src/main.rs index 9a7f4c8..7be760e 100644 --- a/swordfish/src/main.rs +++ b/swordfish/src/main.rs @@ -321,9 +321,6 @@ async fn ping(ctx: &Context, msg: &Message) -> CommandResult { #[command] async fn debug(ctx: &Context, msg: &Message) -> CommandResult { let config = CONFIG.get().unwrap(); - if !["debug", "trace"].contains(&config.log.level.as_str()) { - return Ok(()); - } if !config.debug.allowed_users.contains(&msg.author.id.get()) { return Ok(()); }