> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wanhap.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Discord

> Connect a Discord server to Wanhap and publish to its channels

# Discord

Wanhap publishes to **Discord servers** through a shared Wanhap bot that you add to your server. Each connected account is a **server (guild)** — you pick which **channel** to post in on each post.

## Connect a server

1. Go to **Accounts** in the Wanhap dashboard
2. Click **Connect** on **Discord**
3. You'll be redirected to Discord — choose the **server** to add the Wanhap bot to and authorize it
4. You're returned to Wanhap with that server connected as an account

<Note>
  You need the **Manage Server** permission on a Discord server to add a bot to it. The authorization adds the bot with the permissions it needs to post: View Channel, Send Messages, Embed Links, Attach Files, Read Message History, and Mention Everyone.
</Note>

Connect as many servers as you like — each one becomes its own account.

## Choosing a channel

A Discord account is the whole server, so every Discord post must target a **channel**. In the post editor's Discord settings, pick the channel from the searchable list.

Only channels the bot can actually post in are shown — **text** and **announcement** channels where the bot has *View Channel* + *Send Messages*. Forum, voice, stage, and category channels are excluded (they don't accept a direct message), as are channels the bot has no access to.

<Note>
  If a channel is missing from the list, give the Wanhap bot access to it in Discord (channel or role permissions), or move it under a category the bot can see. The list is cached for a few minutes after a change.
</Note>

## Supported content types

| Type                            | Description                                                         |
| ------------------------------- | ------------------------------------------------------------------- |
| **Message** (`discord_message`) | Text with up to 10 images/videos, optional mentions and rich embeds |

Discord allows up to **2000** characters of message text. Images are optimized to Discord's limits; videos and GIFs are sent as-is.

### Mentions

Add **mentions** (e.g. `@everyone`, a role, or a member) in the Discord settings. Mentions only ping on Discord — they're stored separately from the shared post text, so they never leak as literal `<@id>` markup to your other platforms. Only the mentions you explicitly add will ping; a literal "@everyone" typed into the shared caption does **not**.

### Embeds

Attach one or more rich **embeds** (title, description, URL, image, and accent color) to make announcements stand out. They render as Discord's native embed cards.

## Analytics

Discord exposes **no impressions or reach** for bot messages. Wanhap surfaces what is available:

* **Members** — the server's member count (shown account-wide and on each post)
* **Reactions** — per-post reaction counts (🎉 👍 …)
* **Comments** — replies in the post's thread, when one exists
