Skip to content
This repository was archived by the owner on Mar 8, 2022. It is now read-only.

Commit eca1b49

Browse files
committed
fix tuple not workin in SlashOption
1 parent 5315414 commit eca1b49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord_ui/slash/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def __init__(self, argument_type, name, description=None, required=False, choice
5454
if not _none(options):
5555
self.options = _default([], options)
5656
if not _none(choices):
57-
self._json["choices"] = choices
57+
self.choices = choices
5858
def __repr__(self) -> str:
5959
return f"<discord_ui.SlashOption({str(self.to_dict())})>"
6060
def __eq__(self, o: object) -> bool:

0 commit comments

Comments
 (0)