From f2061b5d73a2cb3c3217dfe65621cda34078db2c Mon Sep 17 00:00:00 2001 From: sgoudham Date: Fri, 24 Jul 2020 10:41:56 +0100 Subject: [PATCH] Removing error handling (Cause nothing can go wrong???) --- main.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/main.py b/main.py index f5c81ccd..5433ac0e 100644 --- a/main.py +++ b/main.py @@ -175,13 +175,9 @@ async def leave(ctx): @is_owner() async def restart(ctx): """Restart the Bot""" - try: - await client.logout() - except Exception as ex: - print(ex) - await ctx.send("Error: {}".format(ex)) await ctx.send("**Success Senpai! Bot has been restarted**") + await client.logout() @client.command(name='help')