From b0f8f55398aa240fa0c892b39ca647f6ffe52a74 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Tue, 4 Aug 2020 09:58:09 +0100 Subject: [PATCH] Rearranging the order --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 1d0ee4fd..243d1282 100644 --- a/main.py +++ b/main.py @@ -170,8 +170,8 @@ async def restart(ctx): colour=enso_embedmod_colours) await ctx.send(embed=embed) - await client.loop.close() await client.logout() + await client.loop.close() @client.command(name="reloadusers", hidden=True)