SelectMenu
Select menus allow users to choose from a list of options. They are useful for forms, surveys, or any scenario where the user needs to make a selection from multiple choices.
Usage
Implementation
The following example demonstrates how to implement a Select Menu using Sunar:
Reference
SelectMenuOptions
Prop | Type | Default |
---|---|---|
id | string | RegExp | - |
type | ComponentType.StringSelect | ComponentType.UserSelect | ComponentType.RoleSelect | ComponentType.MentionableSelect | ComponentType.ChannelSelect | - |
SelectMenuConfig
Prop | Type | Default |
---|---|---|
cooldown | CooldownResolvable | - |
Last updated on