GuildIntegration

GuildIntegration

Represents a guild integration

Constructor

new GuildIntegration()

Properties:
Properties
Name Type Attributes Description
account Object

Info on the integration account

Name Type Description
id String

The ID of the integration account

name String

The name of the integration account

application Object <nullable>

The bot/OAuth2 application for Discord integrations. See the Discord docs

createdAt Number

Timestamp of the guild integration's creation

enabled Boolean

Whether the integration is enabled or not

enableEmoticons Boolean <nullable>

Whether integration emoticons are enabled or not

expireBehavior Number <nullable>

behavior of expired subscriptions

expireGracePeriod Number <nullable>

grace period for expired subscriptions

id String

The ID of the integration

name String

The name of the integration

revoked Boolean <nullable>

Whether or not the application was revoked

roleID String <nullable>

The ID of the role connected to the integration

subscriberCount Number <nullable>

number of subscribers

syncedAt Number <nullable>

Unix timestamp of last integration sync

syncing Boolean <nullable>

Whether the integration is syncing or not

type String

The type of the integration

user User <nullable>

The user connected to the integration

Source:

Methods

delete() → {Promise}

Delete the guild integration

Source:
Returns:
Type:
Promise