Connect Hermes to Discord
Give your Hermes agent access to Discord in Melso — 23 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.
- 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.
- 4Give the agent a task. It calls Discord itself when the work needs it.
What Discord gives your agent
The tools, permissions, and events Discord exposes — the same ones your agent can use once the app is authorized.
What you sign in with
Discord connects with OAUTH2.
- Client id
- Client secret
Permissions
Tools Discord exposes
Consume Entitlement (Deprecated)
DEPRECATED: This Discord endpoint requires a bot token and cannot be used by an OAuth2 user connection. This legacy action is retained for existing Discord bearer-token connections until an equivalent Discord Bot action is available.
Delete Test Entitlement (Deprecated)
DEPRECATED: This Discord endpoint requires a bot token and cannot be used by an OAuth2 user connection. This legacy action is retained for existing Discord bearer-token connections until an equivalent Discord Bot action is available.
Delete User Application Role Connection
Deletes the current user's application role connection for the specified application. Removes the platform metadata and linked role connection.
Edit Application Command Permissions
Edits the permissions for a specific application command in a guild. Requires OAuth2 Bearer token (bot tokens will error). The authorizing user must have MANAGE_GUILD and MANAGE_ROLES permissions in the target guild.
Get Application Command Permissions
Retrieves the permissions for a specific application command in a guild. Requires OAuth2 Bearer token (bot tokens will error). The authorizing user must have MANAGE_GUILD and MANAGE_ROLES permissions in the target guild.
Get Batch Application Command Permissions
Retrieves permissions for all commands of an application in a guild. Returns a list of permission objects for each command. Requires OAuth2 Bearer token (Bot tokens will error).
Get Current User Application Entitlements
Retrieves entitlements for the current user and application. The optional guild_id filter is enforced locally because Discord does not expose that filter on this current-user route.
Get Gateway
Tool to retrieve a valid WebSocket (wss) URL for establishing a Gateway connection to Discord. Use when you need to connect to the Discord Gateway for real-time events.
Events your agent can react to
New Discord Message Trigger
Polls a specific Discord channel for new messages.