📝 Better logging

This commit is contained in:
NikolajDanger
2021-03-28 10:51:29 +02:00
parent 552f00ff32
commit f657b389ab
2 changed files with 16 additions and 8 deletions

View File

@ -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