aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/backend/error_handler.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/backend/error_handler.py b/bot/exts/backend/error_handler.py
index 6561f84e4..839d882de 100644
--- a/bot/exts/backend/error_handler.py
+++ b/bot/exts/backend/error_handler.py
@@ -27,7 +27,8 @@ class ErrorHandler(Cog):
"""
Add checks for the `get_command_ctx` function here.
- Use discord.utils to run the checks.
+ The command code style is copied from discord.ext.commands.Command.can_run itself.
+ Append checks in the checks list.
"""
checks = []
predicates = checks