[commands] Add commands.clean_content converter.
This commit is contained in:
@@ -199,7 +199,7 @@ class Command:
|
||||
if converter is bool:
|
||||
return _convert_to_bool(argument)
|
||||
|
||||
if converter.__module__.startswith('discord.'):
|
||||
if converter.__module__.startswith('discord.') and not converter.__module__.endswith('converter'):
|
||||
converter = getattr(converters, converter.__name__ + 'Converter')
|
||||
|
||||
if inspect.isclass(converter) and issubclass(converter, converters.Converter):
|
||||
|
||||
Reference in New Issue
Block a user