Skip to main content

Discord

Build AI agent bots for Discord — send messages, read channels, list servers, and reply in threads.
Requires the discord.js peer dependency.

Quick Start


Config

string
required
Discord bot token. Falls back to DISCORD_BOT_TOKEN env var.

Tools


Peer Dependency


Bot Setup

  1. Go to the Discord Developer Portal
  2. Create a new application and add a bot
  3. Enable Message Content Intent under Privileged Gateway Intents
  4. Copy the bot token and set it as DISCORD_BOT_TOKEN
  5. Invite the bot to your server with the bot scope and Send Messages, Read Message History permissions

Environment Variables