diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index c5d4f2918..8475be851 100644 --- a/discord/ext/commands/core.py +++ b/discord/ext/commands/core.py @@ -325,7 +325,7 @@ class Command(_BaseCommand): except AttributeError: pass else: - if module.startswith('discord.') and not module.endswith('converter'): + if module is not None and (module.startswith('discord.') and not module.endswith('converter')): converter = getattr(converters, converter.__name__ + 'Converter') try: