aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/ext/commands/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py
index 57c97daa..bb630d3b 100644
--- a/discord/ext/commands/core.py
+++ b/discord/ext/commands/core.py
@@ -444,7 +444,7 @@ class Command(_BaseCommand):
try:
if inspect.isclass(converter):
- if inspect.ismethod(converter.convert):
+ if inspect.ismethod(getattr(converter, 'convert', None)):
if converter.convert.__self__ is converter:
# class method
func = converter.convert