Actions43
- Add Reaction
- Add Role to Member
- Add Thread Member
- Ban Member
- Bulk Delete Messages
- Create Channel
- Create Invite
- Create Role
- Create Scheduled Event
- Create Thread
- Create Thread From Message
- Delete Channel
- Delete Message
- Delete Role
- Delete Scheduled Event
- Delete Slash Command
- Edit Channel
- Edit Role
- Edit Scheduled Event
- Edit Thread
- Fetch Member
- Fetch Message
- Fetch Message History
- Kick Member
- List Scheduled Events
- List Slash Commands
- Pin Message
- Register Context Menu Command
- Register Slash Command
- Remove Own Reaction
- Remove Role From Member
- Remove Thread Member
- Respond to Interaction
- Send Message
- Send Message with Poll
- Send Modal
- Set Bot Activity
- Set Bot Status
- Set Member Nickname
- Timeout Member
- Unban Member
- Unpin Message
- Update Message
Pin Message
AI-generatedSummary
Pin a specific message in a selected Discord channel within one or more guilds to make it more visible to channel members.
Inputs
- Guild Names or IDs — Select one or multiple guilds (Discord servers) by name or ID to limit channels loaded for selection or specify guild IDs using an expression.
- Channel Name or ID (required) — Choose the target channel by name or ID within the selected guild(s) from which to pin the message.
- Message ID (required) — Enter the ID of the message to pin in the specified channel.
Output shape
no body — success/failure only
This operation performs a side effect by pinning the indicated message. It does not return data but will raise an error if the specified message or channel is invalid or the bot lacks permission to pin messages.