New Invite Builder (Expression) — DiSky

Addon: DiSky · Category: Expression · Since: 5.0.0-a1

Syntax

[a] new invite builder (in|for) [the] [channel] %types.guildchannel%

Description

Creates an invite builder for a channel. The invite is only created on Discord once you read 'the build result of' it, which requires 'await'.

Examples

set {_b} to a new invite builder in event-channel
set invite max uses of {_b} to 10
set invite max age of {_b} to 3600
await set {_invite} to the build result of {_b}

View source