Constructor
new GuildIntegration()
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 |
applicationObject
The bot/OAuth2 application for Discord integrations. See the Discord docs
createdAtNumber
Timestamp of the guild integration's creation
enabledBoolean
Whether the integration is enabled or not
enableEmoticonsBoolean
Whether integration emoticons are enabled or not
expireBehaviorNumber
behavior of expired subscriptions
expireGracePeriodNumber
grace period for expired subscriptions
idString
The ID of the integration
nameString
The name of the integration
revokedBoolean
Whether or not the application was revoked
roleIDString
The ID of the role connected to the integration
subscriberCountNumber
number of subscribers
syncedAtNumber
Unix timestamp of last integration sync
syncingBoolean
Whether the integration is syncing or not
typeString
The type of the integration
userUser
The user connected to the integration
- Source:
Methods
delete() → {Promise}
Delete the guild integration
- Source:
Returns:
- Type:
-
Promise