Skip to content

Commit 4e90144

Browse files
authored
Fix incorrect example.
1 parent 6cbfd88 commit 4e90144

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/gettingstarted.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,11 @@ Additionally, we could also declare the type of our command's option through thi
170170

171171
.. code-block:: python
172172
173-
from discord_slash.model import SubCommandOptionType
173+
from discord_slash.model import SlashCommandOptionType
174174
175175
(...)
176176
177-
option_type=SubCommandOptionType.STRING
177+
option_type=SlashCommandOptionType.STRING
178178
179179
More in the option? Give them a choice.
180180
---------------------------------------

0 commit comments

Comments
 (0)