Server · Step
Invite for a short visit
Make an invite for guests: they are removed when they go offline unless they get a role, and the link expires.
invite.create_temporary
In a flow
“When a button is clicked, invite for a short visit.”
/guestpass → Invite for a short visit 24 hours.
What it does
Make an invite for guests: they are removed when they go offline unless they get a role, and the link expires. 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 Server in the palette.
When to use it
Use it when the flow changes the server itself: make an invite for guests: they are removed when they go offline unless they get a role, and the link expires.
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 the invite opens. Empty is the one this happened in.
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
- Works for (hours) Number
-
How long the link works, 1 to 168.
What goes there: Type it in the side panel, or wire in a number. e.g. 42
If it's empty: Optional. Left empty and unwired, it uses 24.
Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 501 more
- Most uses Number
-
How many people it can bring in, 0 to 100. 0 is any number.
What goes there: Type it in the side panel, or wire in a number. e.g. 42
If it's empty: Optional. Left empty and unwired, it uses 1.
Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 501 more
Values it gives
- Link Text
-
The invite link. e.g. https://discord.gg/abc123
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 578 more
- Code Text
-
Its code. e.g. abc123
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 578 more