mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[V3] Drop verbose output on check failure (#1725)
This commit is contained in:
parent
dad775b494
commit
84732a24fa
@ -228,7 +228,7 @@ def init_events(bot, cli_flags):
|
||||
term += " ".join(ctx.args[1:])
|
||||
await ctx.maybe_send_embed(fuzzy_command_search(ctx, ctx.invoked_with))
|
||||
elif isinstance(error, commands.CheckFailure):
|
||||
await ctx.send("⛔ You are not authorized to issue that command.")
|
||||
pass
|
||||
elif isinstance(error, commands.NoPrivateMessage):
|
||||
await ctx.send("That command is not available in DMs.")
|
||||
elif isinstance(error, commands.CommandOnCooldown):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user