Skip to content

Commit fb1001b

Browse files
dlchampshiftinv
andauthored
Update guide/docs/interactions/select-menus.mdx
Co-authored-by: shiftinv <[email protected]> Signed-off-by: DLCHAMP <[email protected]>
1 parent f8c0751 commit fb1001b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

guide/docs/interactions/select-menus.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,8 @@ async def animals(inter: disnake.ApplicationCommandInteraction):
268268
"What is your favorite type of animal?",
269269
components=[
270270
disnake.ui.StringSelect(
271-
options=["Dog", "Cat", "Snake", "Gerbil"], custom_id="fav_animal"
271+
custom_id="fav_animal",
272+
options=["Dog", "Cat", "Snake", "Gerbil"],
272273
)
273274
],
274275
)

0 commit comments

Comments
 (0)