Removing error handling (Cause nothing can go wrong???)

pull/8/head
sgoudham 4 years ago
parent 6c06f71ec5
commit f2061b5d73

@ -175,13 +175,9 @@ async def leave(ctx):
@is_owner() @is_owner()
async def restart(ctx): async def restart(ctx):
"""Restart the Bot""" """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 ctx.send("**Success Senpai! Bot has been restarted**")
await client.logout()
@client.command(name='help') @client.command(name='help')

Loading…
Cancel
Save