# Hermoso: pin_discord_message · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/pin_discord_message/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/) / pin_discord_message

# `pin_discord_message`

Pin a Discord message

Area: THE HERMOSO SLACK + DISCORD APPS · [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

Pin a message to the top of its Discord channel (any message in a channel the bot can see, not only Hermoso's own). A channel holds at most 250 pins. Undo it with unpin_discord_message. Free.

## Parameters

Parameter Type Description

`brand` `string` WHICH PROFILE the post lives in, for THIS CALL ONLY: an id or exact name from list_brands, needed when it was published in a profile this connection is not pinned to. A name that matches no profile, or two, is REFUSED and nothing is done.

`messageId` required `string` the message, as post_to_discord or read_discord_channel returned it ("<channel>/<message>", or a bare id with channel)

`channel` `string` the channel id or #name, when messageId is a bare id

`discordServer` `string` which Discord server (id or name) when the bot is in several

## Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and `POST https://app.hermoso.ai/v1/tools/pin_discord_message`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"pin_discord_message","arguments":{"messageId":"<string>"}}}`
**CLI**

`hermoso call pin_discord_message --json '{"messageId":"<string>"}'`

## Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See [Credits & costs](https://hermoso.ai/docs/credits/).

## Related tools

- [unpin_discord_message](https://hermoso.ai/docs/reference/publish/unpin_discord_message/) Unpin a Discord message
- [list_discord_pins](https://hermoso.ai/docs/reference/publish/list_discord_pins/) List pinned Discord messages
- [search_discord_members](https://hermoso.ai/docs/reference/publish/search_discord_members/) Find a Discord server member
- [list_discord_events](https://hermoso.ai/docs/reference/publish/list_discord_events/) List Discord events
- [list_discord_members](https://hermoso.ai/docs/reference/publish/list_discord_members/) List Discord server members
- [create_discord_event](https://hermoso.ai/docs/reference/publish/create_discord_event/) Create a Discord event
- [remove_discord_role](https://hermoso.ai/docs/reference/publish/remove_discord_role/) Take a role away from a Discord member
- [update_discord_event](https://hermoso.ai/docs/reference/publish/update_discord_event/) Edit, start, end or cancel a Discord event
- [assign_discord_role](https://hermoso.ai/docs/reference/publish/assign_discord_role/) Give a Discord member a role
- [delete_discord_event](https://hermoso.ai/docs/reference/publish/delete_discord_event/) Delete a Discord event

[All 728 Publishing & scheduling tools](https://hermoso.ai/docs/reference/publish/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
