Class Invite

Hierarchy

Constructors

  • Parameters

    • client: Client<true>
    • data: RawInviteData

    Returns Invite

Properties

channelId: null | string
client: Client<true>
code: string
createdTimestamp: null | number
guild: null | Guild | InviteGuild
guildScheduledEvent: null | GuildScheduledEvent<GuildScheduledEventStatus>
inviterId: null | string
maxAge: null | number
maxUses: null | number
memberCount: number
presenceCount: number
stageInstance: null | InviteStageInstance

Deprecated

Public Stage Instances don't exist anymore

targetApplication: null | IntegrationApplication
targetType: null | InviteTargetType
targetUser: null | User
temporary: null | boolean
uses: null | number
InvitesPattern: RegExp

Accessors

  • get createdAt(): null | Date
  • Returns null | Date

  • get deletable(): boolean
  • Returns boolean

  • get expiresAt(): null | Date
  • Returns null | Date

  • get expiresTimestamp(): null | number
  • Returns null | number

  • get inviter(): null | User
  • Returns null | User

  • get url(): string
  • Returns string

Methods

  • Parameters

    • Optional reason: string

    Returns Promise<Invite>

  • Returns unknown

  • Returns string

  • Returns string

Generated using TypeDoc