diff options
author | 2023-02-23 16:05:37 +0530 | |
---|---|---|
committer | 2023-02-23 16:05:37 +0530 | |
commit | dabf67d92620cf0772e8443b5be57207280544c9 (patch) | |
tree | 3aa4d5137c7a3bd1c926977ba38f6e9e3e10a07c | |
parent | Implement all reviews (diff) |
Upadte docstring for `ErrorHandler()._can_run`
-rw-r--r-- | bot/exts/backend/error_handler.py | 3 |
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 |