🛑 Better exception handling
This commit is contained in:
@ -45,6 +45,7 @@ class MiscCog(commands.Cog):
|
||||
|
||||
self.client.funcs.stopServer()
|
||||
|
||||
logThis("Logging out.")
|
||||
await self.client.logout()
|
||||
else:
|
||||
logThis(f"{ctx.message.author.display_name} tried to stop me! (error code 201)",str(ctx.message.channel.id))
|
||||
|
Reference in New Issue
Block a user