discord_create_pin
Pins a message in a Discord channel or thread so it appears in the pinned list, keeping important information easy to find.
Instructions
Pin a message in a channel or thread so it appears in the channel's pinned list. Use it to keep an important message easy to find; use discord_list_pins to see what is pinned and discord_delete_pin to unpin. Returns pinned: true with the channel and message IDs. Bot permissions it may need: View Channel, Pin Messages. Changes Discord data; safe to retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Audit log reason sent in the X-Audit-Log-Reason header (up to 512 characters) | |
| channel_id | Yes | ID of the channel or thread that holds the message | |
| message_id | Yes | ID of the message to pin |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pinned | Yes | ||
| channel_id | Yes | Discord snowflake ID as a numeric string | |
| message_id | Yes | Discord snowflake ID as a numeric string |