---
title: Discord
description: Run your agent as a Discord bot across servers and threads.
type: channel
keywords:
  - chat
  - messaging
  - bot
  - guild
---

# Discord

Channel integration for eve. Run your agent as a Discord bot across servers and threads.

## Install

Add this channel from eve's registry. This writes `agent/channels/discord.ts`:

```bash
eve add channel/discord
```

## Quick start

Create `agent/channels/discord.ts`:

```ts
// agent/channels/discord.ts
import { discordChannel } from "eve/channels/discord";

export default discordChannel({
  credentials: {
    botToken: () => process.env.DISCORD_BOT_TOKEN!,
    publicKey: () => process.env.DISCORD_PUBLIC_KEY!,
  },
});
```

## Configure

Create a Discord application, add a bot, and set the interactions endpoint URL to the route eve serves (`/eve/v1/discord`). Provide the bot token and public key through environment variables. See the [Discord channel docs](/docs/channels/discord) for intents and slash-command setup.

[Read the full channel documentation](/docs/channels/discord)

---

For a semantic overview of all documentation, see [/sitemap.md](/sitemap.md)

For an index of all available documentation, see [/llms.txt](/llms.txt)

For agent-facing discovery, including API and MCP surfaces, see [/agents.md](/agents.md)