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 5a30d49 commit d3345fbCopy full SHA for d3345fb
discord/commands/context.py
@@ -185,7 +185,7 @@ def unselected_options(self) -> Optional[List[Dict]]:
185
if self.command.options is not None: # type: ignore
186
selected = [opt["name"] for opt in self.selected_options]
187
return [
188
- {"name": option.to_dict()["name"]}
+ option.to_dict()
189
for option in self.command.options # type: ignore
190
if option.to_dict()["name"] not in selected
191
]
0 commit comments