From 13612062adbbc27b02a42503191d4feee9afbe36 Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Sat, 9 Aug 2025 23:18:10 +0200 Subject: [PATCH] Fix --- src/bots/approved_bot/modules/support/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bots/approved_bot/modules/support/mod.rs b/src/bots/approved_bot/modules/support/mod.rs index 50c1ea7..970fb6f 100644 --- a/src/bots/approved_bot/modules/support/mod.rs +++ b/src/bots/approved_bot/modules/support/mod.rs @@ -60,5 +60,7 @@ pub async fn support_command_handler( pub fn get_support_handler() -> crate::bots::BotHandler { Update::filter_message() .filter_command::() - .endpoint(support_command_handler) + .endpoint(|message: Message, bot: CacheMe>| async move { + support_command_handler(message, &bot).await + }) }