Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GuildIntegration

Hierarchy

  • Base
    • GuildIntegration

Index

Constructors

constructor

Properties

account

account: { id: string; name: string }

Type declaration

  • id: string
  • name: string

Optional application

createdAt

createdAt: number

Optional enableEmoticons

enableEmoticons: boolean

enabled

enabled: boolean

Optional expireBehavior

Optional expireGracePeriod

expireGracePeriod: number

id

id: string

name

name: string

Optional revoked

revoked: boolean

Optional roleID

roleID: string

Optional subscriberCount

subscriberCount: number

Optional syncedAt

syncedAt: number

Optional syncing

syncing: boolean

type

type: "twitch" | "youtube" | "discord"

Optional user

user: User

Methods

delete

  • delete(): Promise<void>
  • Returns Promise<void>

edit

  • Parameters

    Returns Promise<void>

inspect

sync

  • sync(): Promise<void>
  • Returns Promise<void>

toJSON

  • Parameters

    • Optional props: string[]

    Returns JSONCache

toString

  • toString(): string
  • Returns string

Static getCreatedAt

  • getCreatedAt(id: string): number
  • Parameters

    • id: string

    Returns number

Static getDiscordEpoch

  • getDiscordEpoch(id: string): number
  • Parameters

    • id: string

    Returns number

Generated using TypeDoc