Connect your AI agent to Discord Bot
Discordbot refers to automated programs on Discord servers, performing tasks like moderation, music playback, and user engagement to enhance community interactions
Set it up in Melso
- 1In Melso, open Settings → Agent Apps and hit Connect on Discord Bot.
- 2Finish the OAUTH2 sign-in in the window that opens. Melso stores the connection, not your credentials.
- 3Open your agent, go to its Agent Apps tab, and allow Discord Bot.
- 4Give the agent a task. It calls Discord Bot itself when the work needs it.
What Discord Bot gives your agent
The tools, permissions, and events Discord Bot exposes — the same ones your agent can use once the app is authorized.
What you sign in with
Discord Bot connects with OAUTH2.
- Client id
- Client secret
- Bot Token
- Permission Integer
Permissions
Tools Discord Bot exposes
Add recipient to group channel
Adds a user to a Discord group DM channel. Requires a user OAuth2 access token with the gdm.join scope. Bot tokens cannot be used for this endpoint.
Add guild member
Adds a user to a Discord guild using their OAuth2 access token (which must have guilds.join scope). Returns the guild member object on 201 Created, or indicates the user is already a member on 204.
Assign role to guild member
Assigns a role to a guild member. Requires MANAGE_ROLES permission and the role must be lower in hierarchy than the bot's highest role. Returns 204 on success.
Add Reaction To Message
Adds an emoji reaction from the bot to a message. Requires READ_MESSAGE_HISTORY, and ADD_REACTIONS if no one else has reacted with this emoji yet.
Add thread member
Adds a user to a specific, unarchived thread. The user must have access to the parent channel.
Ban user from guild
Permanently bans a user from a Discord guild, optionally deleting their recent messages.
Bulk ban users from guild
Bans up to 200 users from a Discord guild, optionally deleting their recent messages. Requires BAN_MEMBERS permission.
Bulk Delete Messages
Bulk deletes messages in a Discord channel. Requires MANAGE_MESSAGES permission. Messages must be less than 14 days old. Between 2 and 100 messages can be deleted at once.
Use Discord Bot from the agent you already run
Melso runs the agent. You decide which of your authorized apps it may reach.
Codex
Run Codex as a Melso agent and let it use the apps you have authorized.
Use Discord Bot from CodexHermes
Run Hermes as a Melso agent and let it use the apps you have authorized.
Use Discord Bot from HermesCompare nearby apps
Other Team Chat connections your agents can use.
Connect to Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work - all within a secure, enterprise-grade environment.
Connect to Slackbot
Slackbot gives agents workspace-wide read access to a Slack workspace on behalf of the installing user - search messages and files, browse channel and thread history, and look up users and channels - while continuing to post and react as the bot. Includes direct messages and user email addresses so agents can search across DMs and resolve users by email.
Connect to Discord
An instant messaging and VoIP social platform.
Connect to Figma
A collaborative interface design tool.
Connect to Wrike
Wrike is a project management and collaboration tool offering customizable workflows, Gantt charts, reporting, and resource management to boost team productivity
Connect to Microsoft Teams
Microsoft Teams integrates chat, video meetings, and file storage within Microsoft 365, providing virtual collaboration and communication for distributed teams