InviteCreateEvent
Sent when a new invite to a channel is created.
Constructors
Properties
The behavior of the Channel the invite is for.
A custom object that can be inserted when creating events. By default, this is just null
.
The behavior of the Guild of the invite.
The behavior of the User that created the invite.
The behavior of the Member that created the invite.
Whether the invite is temporary (invited users will be kicked on disconnect unless they're assigned a role).
The supplier used to request entities.
The embedded application to open for this voice channel embedded application invite.
The behavior of the Member whose stream to display for this voice channel stream invite.
The type of target for this voice channel invite.
The behavior of the User whose stream to display for this voice channel stream invite.
The id of the User whose stream to display for this voice channel stream invite.
Functions
Requests to get the Channel this invite is for.
Requests to get the Channel this invite is for, returns null if the channel isn't present.
Requests to get the Guild of the invite. returns null if the guild isn't present, or if invite does not target a guild.
Requests to get the User that created the invite, returns null if the user isn't present or no inviter created this invite.
Requests to get the target User of this invite, returns null if the user isn't present or the invite did not target a user.