running param

This commit is contained in:
Karol Wypchlo 2021-03-01 17:09:18 +01:00
parent b0d49e2f2f
commit acf83ec621
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,8 @@ async def on_ready():
await send_msg(client, "```\n{}\n```".format(traceback.format_exc()), force_notify=True) await send_msg(client, "```\n{}\n```".format(traceback.format_exc()), force_notify=True)
asyncio.create_task(exit_after(3)) asyncio.create_task(exit_after(3))
client.run(bot_token)
# asyncio.run(on_ready()) # asyncio.run(on_ready())
# --- BASH EQUIVALENT # --- BASH EQUIVALENT