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

application: undefined | IntegrationApplication

createdAt

createdAt: number

enableEmoticons

enableEmoticons: boolean

enabled

enabled: boolean

expireBehavior

expireBehavior: number

expireGracePeriod

expireGracePeriod: number

id

id: string

name

name: string

revoked

revoked: boolean

roleID

roleID: string

subscriberCount

subscriberCount: number

syncedAt

syncedAt: number

syncing

syncing: boolean

type

type: string

Optional user

user: undefined | User

Methods

delete

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

edit

  • edit(options: { enableEmoticons: string; expireBehavior: string; expireGracePeriod: string }): Promise<void>
  • Parameters

    • options: { enableEmoticons: string; expireBehavior: string; expireGracePeriod: string }
      • enableEmoticons: string
      • expireBehavior: string
      • expireGracePeriod: string

    Returns Promise<void>

inspect

sync

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

toJSON

  • Parameters

    • Optional props: string[]

    Returns JSONCache

toString

  • toString(): string
  • Returns string

Generated using TypeDoc