diff --git a/src/services/telegram/mod.rs b/src/services/telegram/mod.rs index 0fbb6538..5ed71ddb 100644 --- a/src/services/telegram/mod.rs +++ b/src/services/telegram/mod.rs @@ -11,7 +11,7 @@ use commands::Command; use dependencies::interface_database::DatabaseInterface; use keyboard_callbacks::KeyboardCallback; -use crate::utils::anyhow_result::{AnyError, AnyResult}; +use crate::utils::anyhow_result::AnyResult; use crate::utils::telegram_string::TelegramEscape; use super::RoyalnetService; @@ -102,7 +102,7 @@ impl TelegramService { .context("Aggiornamento dei comandi del bot non riuscito.") } - fn dispatcher(&mut self) -> Dispatcher { + fn dispatcher(&mut self) -> Dispatcher { log::debug!("Building dispatcher..."); let bot_name = self.me.user.username.as_ref().unwrap();