APIGuildIntegration

export interface APIGuildIntegration
export interface APIGuildIntegration
https://discord.com/developers/docs/resources/guild#integration-object
Integration account information
See https://discord.com/developers/docs/resources/guild#integration-account-object
The bot/OAuth2 application for discord integrations
See https://discord.com/developers/docs/resources/guild#integration-application-object
**This field is not provided for discord bot integrations.**
enable_emoticons?:boolean
Whether emoticons should be synced for this integration (twitch only currently)
**This field is not provided for discord bot integrations.**
enabled:boolean
Is this integration enabled
expire_behavior?:IntegrationExpireBehavior
The behavior of expiring subscribers
**This field is not provided for discord bot integrations.**
See https://discord.com/developers/docs/resources/guild#integration-object-integration-expire-behaviors
expire_grace_period?:number
The grace period (in days) before expiring subscribers
**This field is not provided for discord bot integrations.**
Integration id
name:string
Integration name
revoked?:boolean
Has this integration been revoked
**This field is not provided for discord bot integrations.**
role_id?:Snowflake
ID that this integration uses for "subscribers"
**This field is not provided for discord bot integrations.**
scopes?:OAuth2Scopes[]
The scopes the application has been authorized for
subscriber_count?:number
How many subscribers this integration has
**This field is not provided for discord bot integrations.**
synced_at?:string
When this integration was last synced
**This field is not provided for discord bot integrations.**
syncing?:boolean
Is this integration syncing
**This field is not provided for discord bot integrations.**
Integration type
user?:APIUser
User for this integration
**Some older integrations may not have an attached user.**
See https://discord.com/developers/docs/resources/user#user-object