Removed unnecessary awaits

This commit is contained in:
2025-06-03 14:20:09 -05:00
parent 19194f3c8f
commit 48b988bbb4
+3 -3
View File
@@ -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: