Overseer Docs
Interfaces

Discord

Discord bot integration guide

Discord Bot

Integrate Overseer with your Discord server for team-based AI assistance with role-based access control.

Important

The Test button in Overseer only checks whether your Discord bot token is valid.

It does not mean all of these are already done:

  • the bot was invited to your server
  • the Discord worker process is running
  • Message Content Intent is enabled
  • slash commands were registered

If Test says OK but the bot says nothing in Discord, you still need to finish the setup below.

Setup

Create Application

Go to Discord Developer Portal and create a new application.

Create Bot

Navigate to the Bot tab and click Add Bot. Copy the token.

Invite Bot

Use the OAuth2 URL Generator with bot and applications.commands scopes. Invite to your server.

Enable Message Content Intent

In Discord Developer Portal, open the Bot settings and turn on Message Content Intent.

Configure

In Overseer, save:

DISCORD_BOT_TOKEN=your-discord-token
DISCORD_CLIENT_ID=your-client-id
DISCORD_ALLOWED_GUILDS=server-id-1,server-id-2
Start Bot
pnpm discord:dev
Try it the right way

Test with one of these:

/ask hello

or DM the bot directly, or mention the bot in a server channel.

Features

  • Server Integration — Works within your Discord server context
  • Slash Commands — Native Discord slash command support
  • Mention Replies — Mention the bot in a channel to talk to it
  • DM Support — Private direct messages also work
  • Role-Based Access — Control who can interact with the bot
  • Thread Support — Keep conversations organized
  • Rich Embeds — Beautiful formatted responses

Troubleshooting

If the bot was invited but still does not answer:

  1. Make sure the Discord interface is Active
  2. Make sure Client ID is filled in
  3. Make sure Allowed Guild IDs includes your server, or leave it empty
  4. Restart the Discord worker
  5. Try /ask hello
  6. Try a DM
  7. Try mentioning the bot in a server message

On this page