Elementium Sign in
Contents

Messages · Step

Pinned messages

A channel's pinned messages: how many (Discord allows 50) and links to them.

Basic plan message.pins

In a flow

“When a button is clicked, pinned messages.”

/pins → Pinned messages → Reply: {node.p.count}/50 pinned.

What it does

A channel's pinned messages: how many (Discord allows 50) and links to them. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 3 values later steps can use. Find it under Messages in the palette.

When to use it

Use it when the flow needs to A channel's pinned messages: how many (Discord allows 50) and links to them.

When not to

If nothing should change in Discord, a value node or a check is lighter.

Typical wiring

Sockets: settings you can wire

Channel Channel

The channel. Empty is here.

What goes there: Type it in the side panel, or wire in a channel. e.g. #general

If it's empty: Optional. Left empty and unwired, the step runs without it.

Connects fromArchive channelAsk a questionCopy channelCopy permissionsCreate categoryCreate channelCreate forum postCreate threadand 60 more

Values it gives

How many Number

How many are pinned. e.g. 12

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 719 more

Links List

Links, newest first. e.g. ["https://discord.com/channels/…"]

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAdd onboarding questionAdd to listAdd up timesAutoMod: add or remove allowed wordsAutoMod: add or remove wordsAutoMod: block wordsBar chartBest by a fieldand 88 more

Newest Message

The newest pin. e.g. a link to the message

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAttached filesCancel giveawayClear reactionsDelete and warnDelete messageDelete message laterEdit messageEdit to layoutand 578 more

Often next

Related in Messages

Wires and sockets · Data values · Plans