Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Invite

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

bot

bot: Bot

The Bot operating this structure

channel

channel: GuildChannel | undefined

The channel this invite is for

code

The invite code (unique ID)

createdAt

createdAt: Timestamp

The timestamp of when the invite was created

guild

guild: Guild | undefined

The guild this invite is for

inviter

inviter: User | undefined

The user who created the invite

max

InviteMax object containing the invite's maximum age and maximum uses

temporary

temporary: boolean

Whether this invite grants temporary membership

uses

uses: number

Number of times this invite has been used

Accessors

id

  • get id(): string

Methods

clone

  • clone(): this

update

Generated using TypeDoc