Skip to content
Entity Info channelPinnedMessages

$channelPinnedMessages — Returns the pinned messages of a channel.

Returns the pinned messages of a channel.

Syntax

$channelPinnedMessages[channelID;(separator)]

Parameters

  • channelID (id, required) — The channel to pull pinned messages from
  • separator (text, optional) — The separator to use for each message id

Return Value

  • Message[].

Usage

$channelPinnedMessages[channelID;(separator)] → result

Example

$sendMessage[$channelPinnedMessages[30;,]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.