Closing loop instead of stopping it

pull/8/head
sgoudham 4 years ago
parent 27bf0648c7
commit 0be232c7eb

@ -170,7 +170,7 @@ async def restart(ctx):
colour=enso_embedmod_colours)
await ctx.send(embed=embed)
await client.loop.stop()
await client.loop.close()
await client.logout()

Loading…
Cancel
Save