Fix calling dispatcher.emit_startup

This commit is contained in:
Aryn 2023-08-02 18:02:41 +06:00 committed by GitHub
parent 53e5abbdee
commit 40621eb494
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -516,7 +516,7 @@ class Dispatcher(Router):
**self.workflow_data,
**kwargs,
}
await self.emit_startup(bot=bots[-1], **workflow_data)
await self.emit_startup(bots[-1], **workflow_data)
loggers.dispatcher.info("Start polling")
try:
tasks: List[asyncio.Task[Any]] = [