mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-07 09:52:30 -05:00
[Bank API] Add cost decorator (#2761)
This commit is contained in:
committed by
Toby Harradine
parent
d1593b8069
commit
0eb22c84ff
@@ -224,6 +224,9 @@ def init_events(bot, cli_flags):
|
||||
perms=format_perms_list(error.missing), plural=plural
|
||||
)
|
||||
)
|
||||
elif isinstance(error, commands.UserFeedbackCheckFailure):
|
||||
if error.message:
|
||||
await ctx.send(error.message)
|
||||
elif isinstance(error, commands.CheckFailure):
|
||||
pass
|
||||
elif isinstance(error, commands.NoPrivateMessage):
|
||||
|
||||
Reference in New Issue
Block a user