[V3] Drop verbose output on check failure (#1725)

This commit is contained in:
Michael H 2018-05-28 01:27:45 -04:00 committed by palmtree5
parent dad775b494
commit 84732a24fa

View File

@ -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):