mirror of
https://github.com/Balshgit/gpt_chat_bot.git
synced 2025-12-15 16:10:39 +03:00
update to major dependencies (#92)
* update to major dependencies * coroutine in get updates was not awaited
This commit is contained in:
@@ -83,7 +83,7 @@ class BotQueue:
|
||||
async def get_updates_from_queue(self) -> None:
|
||||
while True:
|
||||
update = await self.queue.get()
|
||||
asyncio.create_task(self.bot_app.application.process_update(update))
|
||||
await asyncio.create_task(self.bot_app.application.process_update(update))
|
||||
await sleep(0)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user