aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
Diffstat (limited to 'bot')
-rw-r--r--bot/utils/decorators.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/utils/decorators.py b/bot/utils/decorators.py
index 7ad9d22c..0061abd9 100644
--- a/bot/utils/decorators.py
+++ b/bot/utils/decorators.py
@@ -215,7 +215,7 @@ def whitelist_check(**default_kwargs: Container[int]) -> Callable[[Context], boo
)
# Update kwargs based on override, if one exists
- if overridden_command and hasattr(overridden_command.callback, "override"):
+ if overridden_command:
# Handle DM invocations
allow_dms = overridden_command.callback.override_dm