Connect Hermes to Discord Bot
Give your Hermes agent access to Discord Bot in Melso — 165 tools it can call while it works through a task.
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 Hermes 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.