aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/ext/commands/cog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/cog.py b/discord/ext/commands/cog.py
index dcaa9cdc..085bdb97 100644
--- a/discord/ext/commands/cog.py
+++ b/discord/ext/commands/cog.py
@@ -299,7 +299,7 @@ class Cog(metaclass=CogMeta):
.. versionadded:: 1.7
"""
- return hasattr(self.cog_command_error.__func__, '__cog_special_method__')
+ return not hasattr(self.cog_command_error.__func__, '__cog_special_method__')
@_cog_special_method
def cog_unload(self):