Class Entitlement

Hierarchy

Constructors

Properties

applicationId: string
client: Client<true>
consumed: boolean
deleted: boolean
endsTimestamp: null | number
guildId: null | string
id: string
skuId: string
startsTimestamp: null | number
userId: string

Accessors

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

  • get guild(): null | Guild
  • Returns null | Guild

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

Methods

  • Returns Promise<void>

  • Returns Promise<User>

  • Returns boolean

  • Returns this is Entitlement & {
        guild: Guild;
        guildId: string;
    }

  • Returns this is Entitlement & {
        endsTimestamp: null;
        startsTimestamp: null;
        get endsAt(): null;
        get startsAt(): null;
    }

  • Returns this is Entitlement & {
        guildId: null;
        get guild(): null;
    }

  • Parameters

    • Rest ...props: Record<string, string | boolean>[]

    Returns unknown

  • Returns string

Generated using TypeDoc