Synadia Connect

Discord

NAMERUNTIMETYPEVERSION
discordwombatsinklatest

Writes messages to a Discord channel.

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.

Configuration

NameTypeOptionalSecretDescription
channel_idstringnonoA discord channel ID to write messages to.
bot_tokenstringnonoA bot token used for authentication.
Previous
Cypher