messages_pin
Pin a message in a Discord channel to highlight announcements or FAQs. Use when you need to call attention to important content.
Instructions
Purpose: Pin a message in a channel.
When to use:
Highlight a community announcement / FAQ in the channel.
When NOT to use:
Channel already has 50 pins (Discord limit) - call returns 400.
Returns: {pinned, channel_id, message_id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | Channel containing the message | |
| message_id | Yes | Message to pin | |
| audit_reason | No | Reason recorded in audit log (X-Audit-Log-Reason header) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||