Skip to content
Open
Changes from all commits
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
6 changes: 6 additions & 0 deletions bot/exts/backend/error_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@ async def on_command_error(self, ctx: Context, e: errors.CommandError) -> None:
# All errors from attempting to execute these commands should be handled by the error handler.
# We wrap non CommandErrors in CommandInvokeError to mirror the behaviour of normal commands.
try:
if ctx.invoked_with == "cban":
await ctx.send(
"The `cban` alias was removed because of ambiguity (see #3458). "
"Did you mean `cleanban` or `compban`?"
)
return
if await self.try_silence(ctx):
return
if await self.try_run_fixed_codeblock(ctx):
Expand Down