Skip to content

Commit d3345fb

Browse files
committed
fix option dict
1 parent 5a30d49 commit d3345fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/commands/context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def unselected_options(self) -> Optional[List[Dict]]:
185185
if self.command.options is not None: # type: ignore
186186
selected = [opt["name"] for opt in self.selected_options]
187187
return [
188-
{"name": option.to_dict()["name"]}
188+
option.to_dict()
189189
for option in self.command.options # type: ignore
190190
if option.to_dict()["name"] not in selected
191191
]

0 commit comments

Comments
 (0)