DiscordInvite
DiscordInvite represents an invite link to a Discord server, providing methods to delete the invite.
Properties
code
DiscordInvite.code :: string
type
DiscordInvite.type :: number
guild
inviter
DiscordInvite.inviter :: Objects.DiscordUser?
targetType
DiscordInvite.targetType :: number
targetUser
DiscordInvite.targetUser :: Objects.DiscordUser?
targetApplication
DiscordInvite.targetApplication :: {
{ id: string } }
{ id: string } }
Methods
deleteAsync
Deletes the invite asynchronously.
Functions
new
DiscordInvite . new () -> ()
discordClient: any
inviteData: table
Creates a new instance of DiscordInvite.