You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: discord_slash/utils/manage_commands.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -269,7 +269,7 @@ def create_option(name: str,
269
269
270
270
.. note::
271
271
``choices`` must either be a list of `option type dicts <https://discord.com/developers/docs/interactions/slash-commands#applicationcommandoptionchoice>`_
272
-
or a list of single string values.
272
+
or a list of single string values.
273
273
"""
274
274
ifnotisinstance(option_type, int) orisinstance(option_type, bool): #Bool values are a subclass of int
275
275
original_type=option_type
@@ -320,7 +320,7 @@ def generate_options(function: Callable, description: str = "No description.", c
0 commit comments