Skip to content

Commit c386b6f

Browse files
authored
Merge pull request #117 from goverfl0w/patch-1
Fix incorrect example.
2 parents 6cbfd88 + 4e90144 commit c386b6f

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)