Custom Command
FunctionsButton Functions

$addMenu

Add a menu to existing message

Usage

$addMenu[
        {channel=channel id}
        {message=message id}
        {id=Menu ID}
        {ph=Placeholder}
        
        {option=Option 1}
        {desc=Option 1 Description}
        {value=Option 1 ID}
        {emoji=Option 1 Emoji}

        {option=Option 2}
        {desc=Option 2 Description}
        {value=Option 2 ID}
        {emoji=Option 2 Emoji}
        ...
    ]

Example:

$addMenu[
        {chid=$channelID}
        {mid=1151607052007907449}
        {id=mymenu}
        {option=Rake}
        {value=rake}
        
        {option=Mido}
        {value=mido}]

Output

Function Cooldown

This function has built-in cooldown. Why? Read more about cooldowns here.

  • Cooldown: 10 seconds
  • Tracked By: message
  • Type: messageupdate

Functions with the same type share cooldowns based on the same Tracked By value.

On this page