= discord :type: output :status: experimental :categories: ["Services","Social"] //// THIS FILE IS AUTOGENERATED! To make changes, edit the corresponding source file under: https://github.com/redpanda-data/connect/tree/main/internal/impl/. And: https://github.com/redpanda-data/connect/tree/main/cmd/tools/docs_gen/templates/plugin.adoc.tmpl //// // © 2024 Redpanda Data Inc. component_type_dropdown::[] Writes messages to a Discord channel. ```yml # Config fields, showing default values output: label: "" discord: channel_id: "" # No default (required) bot_token: "" # No default (required) ``` 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 https://discord.com/developers/docs/resources/channel#message-object[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`