From 4e90144e26ad8098b23cf54044d3c8844b28fdfd Mon Sep 17 00:00:00 2001 From: fl0w <41456914+goverfl0w@users.noreply.github.com> Date: Tue, 9 Mar 2021 10:11:53 -0500 Subject: [PATCH] Fix incorrect example. --- docs/gettingstarted.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/gettingstarted.rst b/docs/gettingstarted.rst index 40a9c0a8a..6256ee2f1 100644 --- a/docs/gettingstarted.rst +++ b/docs/gettingstarted.rst @@ -170,11 +170,11 @@ Additionally, we could also declare the type of our command's option through thi .. code-block:: python - from discord_slash.model import SubCommandOptionType + from discord_slash.model import SlashCommandOptionType (...) - option_type=SubCommandOptionType.STRING + option_type=SlashCommandOptionType.STRING More in the option? Give them a choice. ---------------------------------------