Fix loop
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2022-08-22 21:33:34 +00:00
parent 4698736c57
commit a4d388acf8
2 changed files with 1 additions and 1 deletions

View File

@ -217,5 +217,5 @@ async def ical(guild_id: str):
def run():
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)