mirror of
https://github.com/dnslin/aria2bot.git
synced 2026-01-11 12:12:19 +08:00
feat: 初始化自定义命令
This commit is contained in:
@@ -67,6 +67,7 @@ def run() -> None:
|
|||||||
async def main():
|
async def main():
|
||||||
async with app:
|
async with app:
|
||||||
await app.start()
|
await app.start()
|
||||||
|
await post_init(app)
|
||||||
await app.updater.start_polling()
|
await app.updater.start_polling()
|
||||||
await asyncio.Event().wait()
|
await asyncio.Event().wait()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user