We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9df8abb commit 13afc3fCopy full SHA for 13afc3f
discord/application_commands.py
@@ -645,7 +645,7 @@ def __init__(
645
) -> None:
646
from .ext.commands import Converter, Greedy
647
if not isinstance(option_type, OptionType):
648
- if issubclass(option_type, Converter) or converter is Greedy:
+ if issubclass(type(option_type), Converter) or converter is Greedy:
649
converter = copy.copy(option_type)
650
option_type = str
651
option_type, channel_type = OptionType.from_type(option_type)
0 commit comments