Discord User icon

Discord User

Complete Discord automation - Messages, Servers, Roles, Members, DMs

Message → Pin

AI-generated

Summary

Pins a specific message to a Discord channel, making it visible at the top of the channel list.

Inputs

  • channelId (required) — The ID of the Discord channel where the message resides.
  • messageId (required) — The ID of the message to pin.

Output shape

A single record containing success status, the pinned message ID, and a boolean flag indicating the pin action.

Returns a success envelope (success, messageId, pinned: true) per input item.

Examples

Example 1: Pin a specific message ID in a text channel

Set resource to 'Message' and operation to 'Pin'. Enter the Channel ID and Message ID of the target message.

Example 2: Pin a message found from a previous 'Read' operation

Connect the output of a 'Read' node to this node. The input data should provide the Channel ID and Message ID from the fetched messages.

Links

Discussion