InviteCreateOptions

interface InviteCreateOptions

Options for creating a channel invite.

exported from lib.weeble.d

Properties

Property

Type

Description

maxAge?

number

Maximum invite lifetime in seconds, or 0 for no expiry.

maxUses?

number

Maximum number of uses, or 0 for unlimited uses.

reason?

string

Audit-log reason for creating the invite.

temporary?

boolean

Whether members who join with the invite are removed after disconnecting.

unique?

boolean

Whether Discord should create a unique invite instead of reusing one.