From 2997c7ac7d81ce09d900b9708dd74a4a29b0b5ab Mon Sep 17 00:00:00 2001 From: doryan04 Date: Fri, 16 Feb 2024 20:29:37 +0400 Subject: [PATCH] nuremberg command --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index ef5bde0..c9910cc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -46,7 +46,7 @@ async fn callback(bot: Bot, msg: Message, commands: Commands) -> ResponseResult< Commands::Help => { bot.send_message(msg.chat.id, Commands::descriptions().to_string()).await?; }, - Commands::Nurnberg(reason) => { + Commands::Nuremberg(reason) => { if is_admin_check(&msg, &bot).await { let reason_result = if reason.is_empty() { None } else { Some(reason) }; let _ = ban_user(