$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 a built-in cooldown to help prevent excessive usage.

PropertyValue
⏱️ Duration10 seconds
🆔 Tracked Bymessage
🌐 ScopeMessageupdate

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

💎 Tier 3+ servers bypass this cooldown. See Premium Perksopen in new window.