Documentation
Parsers
Options Parser

Options Parser

Options parser consists of 5 parts: TTS, AllowedMentions, FetchReply, Reply, Ephemeral

TTS

tts sets the messagePayload to be a text-to-speech message.

Usage

{tts}

AllowedMentions

allowedMentions sets the allowedMentions for the messagePayload.

Usage

{allowedMentions:
    {parse:
        // Parse Options
    }
    {users:
        // User IDs
    }
    {roles:
        // Role IDs
    }
}

Properties

PropertyTypeDescriptionRequired
parsearrayParse optionsNo
usersarrayUser IDsNo
rolesarrayRole IDsNo

Parse Options

OptionDescription
usersParse user mentions
rolesParse role mentions
everyoneParse everyone mentions

Example

{allowedMentions:
    {parse:
        users:
        roles
    }
}

Reply

reply sets the messagePayload to be a reply to the message that triggered the command.

Usage

{reply:
    messageId
}

Properties

PropertyTypeDescriptionRequired
messageIdstringMessage IDYes

Example

{reply:
    123456789012345678
}

Ephemeral

ephemeral sets the messagePayload to be ephemeral.

Usage

{ephemeral}

FetchReply

fetchReply fetches the interaction response sent by the bot.

Usage

{fetchReply}