$selectMenu
Creates a Menu with options.
Usage: $selectMenu[id;placeholder;min value(optional);max value;(optional);label;desc;value;value] works only for one option
Creating SelectMenu
Code:
$selectMenu[
{id=id}
{placeholder=Pls select your answer!}
{min=1}
{max=2}
{label=Option one }
{desc=txt for one}
{value=one}
{emoji=$customEmoji[accept]}
{label=Option two }
{desc=txt for two}
{value=two}
{emoji=$customEmoji[reject]}
]
idthe id of menu must be unique on multiple menusplaceholderminminimum to select (optional)maxmaximum to select (optional)labellabel of optiondescdescription of optionvaluevalue of option ,which $eventSelected returns on usageemojiemoji for option (optional)
Info:
- You can have up to 5 menus on a message
- You can add maximal 20 options to a menu
- Id of multiple menus can't be same
{key=value} what is this for a syntax?
This syntax is called curl args.It is really similar to curl message.Especially new Functions support it ,you can use !!func function name to check if it supports curl arguments. Learn more
Example:

Do you want to add a menu inside a Function as a parameter, like `$sendMessage[text]`?
Use:
{menu:
{id=id}
{placeholder=Pls select your answer!}
{min=1}
{max=2}
{label=Option one }
{desc=txt for one}
{value=one}
{emoji=$customEmoji[accept]}
}
Please be aware!!
If you add any : in this function it will error! Check out this
Link escapes are needed, use \ to escape characters. Read me to see more
TIP
Using the menu as trigger check here to learn more.