📝 Better logging
This commit is contained in:
@ -93,7 +93,7 @@ async def on_command_error(ctx, error):
|
||||
exception = exception[:index]
|
||||
|
||||
exceptionString = "".join(exception)
|
||||
logThis(f"exception in command !{ctx.command}, {exceptionString}",str(ctx.message.channel.id))
|
||||
logThis([f"exception in command !{ctx.command}", f"{exceptionString}"],str(ctx.message.channel.id), 40)
|
||||
await ctx.send("Something went wrong (error code 000)")
|
||||
|
||||
#Loads cogs
|
||||
|
Reference in New Issue
Block a user