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 36950f6 commit ececd61Copy full SHA for ececd61
discord_slash/client.py
@@ -502,6 +502,11 @@ async def on_socket_response(self, msg):
502
if selected_cmd.has_subcommands and not selected_cmd.func:
503
return await self.handle_subcommand(ctx, to_use)
504
505
+ if "options" in to_use["data"]:
506
+ for x in to_use["data"]["options"]:
507
+ if "value" not in x.keys():
508
+ return await self.handle_subcommand(ctx, to_use)
509
+
510
args = await self.process_options(ctx.guild, to_use["data"]["options"], selected_cmd.auto_convert) \
511
if "options" in to_use["data"] else []
512
0 commit comments