discord
EXPERIMENTAL
This component is experimental and therefore subject to change or removal outside of major version releases.
Writes messages to a Discord channel.
- Common
- Advanced
# Common config fields, showing default valuesoutput:label: ""discord:channel_id: ""bot_token: ""
# All config fields, showing default valuesoutput:label: ""discord:channel_id: ""bot_token: ""rate_limit: ""
This output POSTs messages to the /channels/{channel_id}/messages
Discord API endpoint authenticated as a bot using token based authentication.
If the format of a message is a JSON object matching the Discord API message type then it is sent directly, otherwise an object matching the API type is created with the content of the message added as a string.
Fields​
channel_id
​
A discord channel ID to write messages to.
Type: string
bot_token
​
A bot token used for authentication.
Type: string
rate_limit
​
An optional rate limit resource to restrict API requests with.
Type: string
Default: ""