Skip to main content

Discord

The Discord integration lets you chat with your agents straight from Discord:

  • DM the agent like a friend
  • @bot mentions in channels
  • The agent replies naturally and remembers context
  • Use the discord tool for actions (send messages, fetch history, react)

Setup (~5 minutes)

1. Create the Discord application

Go to discord.com/developers/applicationsNew Application. Pick a name (e.g. "Youkore") and an icon.

2. Create the bot

Left menu → BotAdd Bot. Confirm.

3. Enable intents

Still on the Bot tab, scroll to Privileged Gateway Intents and turn on:

  • ✅ Presence Intent
  • ✅ Server Members Intent
  • ✅ Message Content Intent

4. Copy the token

Below the bot's name there's a Reset Token button → confirm → copy the token shown.

⚠️ The token is sensitive — never share it.

5. Invite the bot to your server

Left menu → OAuth2URL Generator:

  • Scopes: bot
  • Bot Permissions: Send Messages, Read Message History, Add Reactions, Use External Emojis

Copy the URL at the bottom, open it in your browser, pick a server, authorize.

6. Paste the token into Youkore

Open Youkore → Settings → Integrations → Discord → paste the token → Connect.

The status badge flips to "Connected" and shows the bot's username and the number of guilds.

What you can do

  • DM the bot from Discord — the agent replies
  • In a channel where the bot is invited, type @botname question to call it
  • The agent can use discord(action="send", ...) to send messages on its own

Required permissions

The basics above are enough. If you want the agent to add reactions or read a channel's history, make sure the bot's role has access to that channel.

Troubleshooting

Bot doesn't reply to mentions: check that Message Content Intent is enabled (step 3).

Bot can't see a channel: verify the bot's role has "View Channel" permission on it.

Token rejected: if you clicked "Reset Token" multiple times, only the last one is valid. Regenerate and update Youkore.