ProductReadyProductReady
Chat Channels

Discord

Connect a Discord bot to create Agent Tasks from server messages and DMs.

Discord

Create a Discord application, add a bot, invite it to your server, and messages become Agent Tasks.

📖 Official docs: Discord Developer Portal

Create a Bot

  1. Go to Discord Developer PortalNew Application
  2. Navigate to Bot in the sidebar → Add Bot
  3. Click Reset Token → copy the Bot Token
  4. Under Privileged Gateway Intents, enable Message Content Intent

The Message Content Intent is required for the bot to read message text.

Invite to Server

Go to OAuth2 → URL Generator:

  • Scopes: bot
  • Bot Permissions: Send Messages, Read Message History

Open the generated URL to invite the bot to your server.

Connect in ProductReady

Go to User Settings → Chat Channels → [+ Add] → Discord, paste the Bot Token, and select a default space.

await trpc.channels.connect.mutate({
  provider: "discord",
  credentials: { botToken: "..." },
  defaultSpaceId: "space_abc123",
});

Notes

  • The bot responds to mentions (@YourBot do something) and DMs
  • One bot can serve multiple Discord servers

On this page