Message Sent

Triggers when a message is sent.

Does not trigger for messages sent by bots.

This trigger is based on Discord event MessageCreate.

Inputs

None.

Outputs

Message Content

The content of the message.

Message content will be empty without the Message Content intent. Check your bot’s intents here.

Example: Hello! How are you?

Message ID

The ID of the message.

Example: 123456789012345678

Channel ID

The ID of the channel that the message was sent in.

Example: 123456789012345678

Author ID

The ID of the user that sent the message.

Example: 123456789012345678

Server ID

The ID of the server that the message was sent in.

Example: 123456789012345678

User Mentions

A list of the mentioned users in the message.

Example: 123456789012345678,123456789012345678,123456789012345678,

Role Mentions

A list of the mentioned roles in the message.

Example: 123456789012345678,123456789012345678,123456789012345678,

Message Sent At (Unix)

A Unix timestamp of when the message was sent.

Example: 1731886315