update to major dependencies (#92)

* update to major dependencies

* coroutine in get updates was not awaited
This commit is contained in:
Dmitry Afanasyev
2024-03-09 02:36:58 +03:00
committed by GitHub
parent c5bf5b3e1a
commit e9883c0285
6 changed files with 148 additions and 147 deletions

View File

@@ -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)