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
- Open the Discord Developer Portal.
- New Application → name it → open Bot → Reset Token → copy.
- Under Bot, enable intents you plan to use (Message Content, Server Members, etc.).
- Under OAuth2 → URL Generator, pick scope
botand the permissions you want, open the URL, and add the bot to your server. - Back in Discord: enable Developer Mode in User Settings → Advanced, right-click your server, Copy Server ID.
Fields to fill in FlyMyAI
| FlyMyAI field | Where it comes from |
|---|---|
DISCORD_TOKEN | Developer Portal → Bot → Token |
DISCORD_GUILD_ID | Right-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.