Select Menus
Select menus are used to select an option from a list of options in a dropdown
Select menus are used to select an option from a list of options in a dropdown. They are created by extending the SelectMenu
class, and adding a options
property.
Here we have five examples of select menus, each with a different type of option. Only the StringSelectMenu class requires you to provide options, the other 4 will automatically be populated by Discord (and allow searching as well).
Edit on GitHub
Last updated on