API ReferenceDiscord
Message Received
Discord trigger: discord:discord:message:message-received
Message Received
| Trigger ID | discord:discord:message:message-received |
| Plugin | Discord |
| Category | Message |
Variables
Copy variables into handler fields using {variableName} syntax.
{guildId}{guild}{channelId}{channel}{user}{userId}{username}{message}{messageId}| Name | Type | Description |
|---|---|---|
{guildId} | string | Server ID. Example: |
{guild} | string | Server name. Example: |
{channelId} | string | YouTube channel ID for the connected account. Example: |
{channel} | string | Channel login or display name where the event occurred. Example: |
{user} | string | Display name of the user who triggered the event. Example: |
{userId} | string | Platform user ID of the chatter or actor. Example: |
{username} | string | Login name of the user (lowercase on Twitch). Example: |
{message} | string | Full message text from the event. Example: |
{messageId} | string | Platform message ID for the chat message. Example: |
Conditions
| Condition | Description |
|---|---|
| Message | Match message text (starts with, ends with, contains, equals). Leave empty to always match. |
| Username | Match chatter username (equals, contains, starts with, ends with). Leave empty to always match. |
| Guild ID (optional) | Filter on Guild ID (optional). Configure in the trigger condition editor. |
| Channel ID (optional) | Filter on Channel ID (optional). Configure in the trigger condition editor. |