10 lines
372 B
Python
10 lines
372 B
Python
import discord.ext.commands as commands
|
|
|
|
|
|
class CheckFailDoNotNotify(commands.CheckFailure):
|
|
"""
|
|
A custom exception that we can raise inside command check functions if the check fails, but the global error handling should not notify the user about the error.
|
|
For example it can be used if the check function already sent the user a customised error message.
|
|
"""
|
|
pass
|