Skip to main content

Discord

Lets an agent operate a Discord bot in a server (guild) you control.

What it can do

  • Messages: get, list, send, edit, delete, bulk-delete, pin, react.
  • Users: get me, get user, create DM.
  • Guild: channels, roles, members, invites, emojis, threads, scheduled events.
  • Moderation: modify members, add/remove roles, remove members.
  • Channels: create, modify, delete; invites; webhooks.
  • Threads & forums: create, join, leave, list, list members.

How to get credentials

  1. Open the Discord Developer Portal.
  2. New Application → name it → open BotReset Token → copy.
  3. Under Bot, enable intents you plan to use (Message Content, Server Members, etc.).
  4. Under OAuth2 → URL Generator, pick scope bot and the permissions you want, open the URL, and add the bot to your server.
  5. Back in Discord: enable Developer Mode in User Settings → Advanced, right-click your server, Copy Server ID.

Fields to fill in FlyMyAI

FlyMyAI fieldWhere it comes from
DISCORD_TOKENDeveloper Portal → Bot → Token
DISCORD_GUILD_IDRight-click server → Copy Server ID

Troubleshooting

  • Missing Access — the bot lacks permission on the target channel. Edit channel permissions or give the bot role the needed flags.
  • Missing Intents — enable the required privileged intent in the Developer Portal and restart.