Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cogs/ColourRole.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ async def custom_colour_error(self, ctx: commands.Context, error):
"""
if isinstance(error, commands.CheckFailure):
await ctx.send("You don't have the required role to use this command.")
else:
elif not isinstance(error, commands.CommandOnCooldown):
import time
KoalaBot.logger.error(f"Unexpected error occurred in Guild {ctx.guild.id}, channel {ctx.channel.id}. "
f"Error was of type {str(type(error))}. Cause was {error.__cause__}.")
Expand Down