Elementium Sign in
Contents

Storage · Step

Change variable of

Set, add to, or put in or take out of any member's, channel's or the server's variable.

Free plan storage.var_set

In a flow

“When a button is clicked, change variable of.”

coins of @Sam + 50 → 170

What it does

Set, add to, or put in or take out of any member's, channel's or the server's variable. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 2 values later steps can use. Find it under Storage in the palette.

When to use it

Use it to keep something between runs: set, add to, or put in or take out of any member's, channel's or the server's variable.

When not to

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

Typical wiring

Sockets: settings you can wire

Member Member

With Whose = member: the member, like the Member from Member by id. Unwired: whoever started the flow.

What goes there: Type it in the side panel, or wire in a member. e.g. @Alex

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

Connects fromAccept applicationApplication infoAsk a questionAsk follow-upBoard as emojiCall the next in the queueCase createdCheck for a lineand 87 more

Channel Channel

With Whose = channel: the channel, like New channel from Create channel. Unwired: where it happened.

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

Value Text

What to save, add, or put in or take out of the list. Variables allowed.

What goes there: Type it in the side panel, or wire in text. e.g. Hello there

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

Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more

Values it gives

New value Text

What it holds now. e.g. Hello there

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

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 577 more

As a number Number

The new value as a number. e.g. 42

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 718 more

Often next

Related in Storage

Wires and sockets · Data values · Plans