Represents a guild integration.

Hierarchy

Constructors

Properties

The account information associated with this integration.

application?: PartialApplication

The application associated with this integration.

enableEmoticons?: boolean

If emoticons should be synced for this integration.

enabled?: boolean

If this integration is enabled.

The behavior of expiring subscribers.

expireGracePeriod?: number

The grace period (in days) before expiring subscribers.

id: string
name: string

The name of the integration.

revoked?: boolean

If this integration has been revoked.

roleID?: string

The id of the role this integration uses for subscribers.

subscriberCount?: number

The number of subscribers this integration has.

syncedAt?: Date

The last date at which this integration was synced at.

syncing?: boolean

If this integration is syncing.

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

The type of integration.

user?: User

The user associated with this integration.

Accessors

Methods