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 7f2c26f commit eaa6c72Copy full SHA for eaa6c72
discord/commands/core.py
@@ -825,6 +825,12 @@ async def _invoke(self, ctx: ApplicationContext) -> None:
825
elif op.input_type == SlashCommandOptionType.string and (converter := op.converter) is not None:
826
arg = await converter.convert(converter, ctx, arg)
827
828
+ elif op._raw_type in (SlashCommandOptionType.integer,
829
+ SlashCommandOptionType.number,
830
+ SlashCommandOptionType.string,
831
+ SlashCommandOptionType.boolean):
832
+ pass
833
+
834
elif issubclass(op._raw_type, Enum):
835
if isinstance(arg, str) and arg.isdigit():
836
try:
0 commit comments