Post continued from https://discord.com/channels/789032594456576001/1132029354503831602
I cannot get traceback.format_exception here.
@listen(is_default_listener=True, disable_default_listeners=True)
async def on_command_error(self, event: Error):
print(event.error)
print(event.source)
if isinstance(event.error, errors.CommandOnCooldown):
formatted_seconds = format_seconds(round(event.error.cooldown.get_cooldown_time()))
await event.ctx.send(f"You are on cooldown. Try again in {formatted_seconds} seconds")