mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2026-01-21 07:32:59 -05:00
Reformat with Black 22.1.0
This commit is contained in:
@@ -198,7 +198,6 @@ def init_events(bot, cli_flags):
|
||||
|
||||
@bot.event
|
||||
async def on_command_error(ctx, error, unhandled_by_cog=False):
|
||||
|
||||
if not unhandled_by_cog:
|
||||
if hasattr(ctx.command, "on_error"):
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user