@@ -63,7 +63,7 @@ client.on(Events.InteractionCreate, async interaction => {
6363 .setCustomId (' hobbiesInput' )
6464 // Paragraph means multiple lines of text.
6565 .setStyle (TextInputStyle .Paragraph );
66-
66+
6767 const favoriteStarterSelect = new StringSelectMenuBuilder ()
6868 .setCustomId (' starter' )
6969 .setPlaceholder (' Make a selection!' )
@@ -97,7 +97,7 @@ client.on(Events.InteractionCreate, async interaction => {
9797 // The Description is small text under the label above the interactive component
9898 .setDescription (' card game, film, book, etc.' )
9999 .setTextInputComponent (hobbiesInput);
100-
100+
101101 const favoriteStarterLabel = new LabelBuilder ()
102102 .setLabel (" What's some of your favorite Gen 1 Pokémon starter?" )
103103 // The Description is small text under the label above the interactive component
@@ -169,7 +169,7 @@ const option = StringSelectMenuOptionBuilder()
169169 .setDefault (true )
170170 .setLabel (' Charmander' )
171171 .setDescription (' The Fire-type Lizard Pokémon.' )
172- .setValue (' charmander' )
172+ .setValue (' charmander' );
173173```
174174
175175## Receiving modal submissions
@@ -229,7 +229,7 @@ client.on(Events.InteractionCreate, interaction => {
229229 // Get the data entered by the user
230230 const favoriteColor = interaction .fields .getTextInputValue (' favoriteColorInput' );
231231 const hobbies = interaction .fields .getTextInputValue (' hobbiesInput' );
232- const favoriteStarter = interaction .fields .getStringSelectMenuValues (' starter' )
233- console .log ({ favoriteColor, hobbies, favoriteStarter});
232+ const favoriteStarter = interaction .fields .getStringSelectMenuValues (' starter' );
233+ console .log ({ favoriteColor, hobbies, favoriteStarter });
234234});
235235```
0 commit comments