This commit is contained in:
parent
4698736c57
commit
a4d388acf8
@ -217,5 +217,5 @@ async def ical(guild_id: str):
|
|||||||
|
|
||||||
def run():
|
def run():
|
||||||
quart_task = client.loop.create_task(app.run_task())
|
quart_task = client.loop.create_task(app.run_task())
|
||||||
quart_task.add_done_callback(lambda f: quart_task.get_loop().stop())
|
quart_task.add_done_callback(lambda f: client.loop.stop())
|
||||||
client.run(DISCORD_TOKEN)
|
client.run(DISCORD_TOKEN)
|
||||||
|
Loading…
Reference in New Issue
Block a user