diff --git a/telegram_helper.py b/telegram_helper.py index 77439b3..ca454f9 100644 --- a/telegram_helper.py +++ b/telegram_helper.py @@ -45,11 +45,11 @@ class TelegramHelper: response_message = await self._clear_logic(user_id) await update.message.reply_text(response_message) - async def _status_logic(self) -> str: - return await self.bot.get_bot_status() + def _status_logic(self) -> str: + return self.bot.get_bot_status() async def status(self, update: Update, context: ContextTypes.DEFAULT_TYPE) -> None: - response_message = await self._status_logic() + response_message = self._status_logic() await update.message.reply_text(response_message) async def _switch_logic(self) -> str: