File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -178,14 +178,26 @@ def response(self) -> InteractionResponse:
178
178
179
179
@property
180
180
def selected_options (self ) -> Optional [List [Dict ]]:
181
- """Returns a dictionary containing the options and values that were selected by the user when the command was processed, if applicable."""
181
+ """The options and values that were selected by the user when sending the command.
182
+
183
+ Returns
184
+ -------
185
+ Optional[List[Dict]]
186
+ A dictionary containing the options and values that were selected by the user when the command was processed, if applicable.
187
+ """
182
188
if "options" in self .interaction .data :
183
189
return self .interaction .data ["options" ]
184
190
return None
185
191
186
192
@property
187
193
def unselected_options (self ) -> Optional [List [Option ]]:
188
- """Returns a list of Option objects (if any) that were not selected by the user when the command was processed."""
194
+ """The options that were not provided by the user when sending the command.
195
+
196
+ Returns
197
+ -------
198
+ Optional[List[:class:`.Option`]]
199
+ A list of Option objects (if any) that were not selected by the user when the command was processed.
200
+ """
189
201
if self .command .options is not None : # type: ignore
190
202
return [
191
203
option
You can’t perform that action at this time.
0 commit comments