Trying to get rid of runtime error

pull/8/head
sgoudham 4 years ago
parent 5468a3133f
commit 57f2d1b34f

@ -170,6 +170,8 @@ async def restart(ctx):
colour=enso_embedmod_colours)
await ctx.send(embed=embed)
client.db.terminate()
await client.db.wait_closed()
await client.logout()

Loading…
Cancel
Save