From fecf97797892fec2946f45b40606758159344f3b Mon Sep 17 00:00:00 2001 From: Vilmos Zsombor TANCZOS Date: Fri, 2 May 2025 16:24:42 +0200 Subject: [PATCH] remove commented out code --- src/client.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/client.rs b/src/client.rs index 0acd330..41bdc46 100644 --- a/src/client.rs +++ b/src/client.rs @@ -48,16 +48,6 @@ async fn on_error(error: poise::FrameworkError<'_, KBotData, CommandError>) { error!("Error in command `{}`: {}", ctx.command().name, error,); let _ = ctx.say("Failed to run command.".to_string()).await; } - // poise::FrameworkError::ArgumentParse { - // error, input, ctx, .. - // } => { - // debug!( - // "Failed to parse argument `{:?}` for command `{}`: {}", - // input, - // ctx.command().name, - // error - // ); - // } error => { if let Err(e) = poise::builtins::on_error(error).await { error!("Error while handling error: {}", e);