All integrations

Discord

Channel

Run your agent as a Discord bot across servers and threads.

Read the full channel docs

Install

Install the framework. The Discord channel ships with it:

bash
npm install eve@latest

Quick start

Create agent/channels/discord.ts:

ts
// agent/channels/discord.tsimport { discordChannel } from "eve/channels/discord";
export default discordChannel({  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 for intents and slash-command setup.