diff --git a/src/bots/approved_bot/modules/support/mod.rs b/src/bots/approved_bot/modules/support/mod.rs index 9161c4a..2df0d66 100644 --- a/src/bots/approved_bot/modules/support/mod.rs +++ b/src/bots/approved_bot/modules/support/mod.rs @@ -58,10 +58,8 @@ pub async fn support_command_handler( pub fn get_support_handler() -> crate::bots::BotHandler { dptree::entry().branch( - Update::filter_message().branch( - dptree::entry() - .filter_command::() - .endpoint(support_command_handler), - ), + Update::filter_message() + .filter_command::() + .endpoint(support_command_handler), ) }