# discord

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [connect-full.txt](https://docs.redpanda.com/connect-full.txt)

---
title: discord
latest-connect-version: 4.93.0
latest-operator-version: v26.1.4
latest-console-tag: v3.7.3
latest-redpanda-tag: v26.1.9
docname: outputs/discord
page-component-name: connect
page-version: master
page-component-version: master
page-component-title: Connect
page-relative-src-path: outputs/discord.adoc
page-edit-url: https://github.com/redpanda-data/rp-connect-docs/edit/main/modules/components/pages/outputs/discord.adoc
page-git-created-date: "2024-05-24"
page-git-modified-date: "2026-05-26"
---

<!-- Source: https://docs.redpanda.com/connect/components/outputs/discord.md -->

**Type:** Output ▼

[Output](https://docs.redpanda.com/connect/components/outputs/discord/)[Input](https://docs.redpanda.com/connect/components/inputs/discord/)

**Available in:** Self-Managed

Writes messages to a Discord channel.

```yml
outputs:
  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 [Discord API message type](https://discord.com/developers/docs/resources/channel#message-object) 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)Fields

### [](#bot_token)`bot_token`

A bot token used for authentication.

**Type**: `string`

### [](#channel_id)`channel_id`

A discord channel ID to write messages to.

**Type**: `string`