Skip to content

Commit a8fcb34

Browse files
committed
fix option list
1 parent d3345fb commit a8fcb34

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-
option.to_dict()
188+
option
189189
for option in self.command.options # type: ignore
190190
if option.to_dict()["name"] not in selected
191191
]

0 commit comments

Comments
 (0)