DiscordIntegrationCreateUpdate
Documentation / @discordeno/types / DiscordIntegrationCreateUpdate
Interface: DiscordIntegrationCreateUpdate
Defined in: discord/gateway.ts:669
https://docs.discord.com/developers/events/gateway-events#integration-create-integration-create-event-additional-fields https://docs.discord.com/developers/events/gateway-events#integration-update-integration-update-event-additional-fields
Extends
Properties
account
account:
DiscordIntegrationAccount
Defined in: discord/guild.ts:464
Integration account information
Inherited from
application?
optionalapplication?:DiscordIntegrationApplication
Defined in: discord/guild.ts:472
The bot/OAuth2 application for discord integrations
Inherited from
DiscordIntegration.application
enable_emoticons?
optionalenable_emoticons?:boolean
Defined in: discord/guild.ts:456
Whether emoticons should be synced for this integration (twitch only currently)
Inherited from
DiscordIntegration.enable_emoticons
enabled
enabled:
boolean
Defined in: discord/guild.ts:450
Is this integration enabled
Inherited from
expire_behavior?
optionalexpire_behavior?:IntegrationExpireBehaviors
Defined in: discord/guild.ts:458
The behavior of expiring subscribers
Inherited from
DiscordIntegration.expire_behavior
expire_grace_period?
optionalexpire_grace_period?:number
Defined in: discord/guild.ts:460
The grace period (in days) before expiring subscribers
Inherited from
DiscordIntegration.expire_grace_period
guild_id
guild_id:
string
Defined in: discord/gateway.ts:671
Id of the guild
id
id:
string
Defined in: discord/guild.ts:444
Integration Id
Inherited from
name
name:
string
Defined in: discord/guild.ts:446
Integration name
Inherited from
revoked?
optionalrevoked?:boolean
Defined in: discord/guild.ts:470
Has this integration been revoked
Inherited from
role_id?
optionalrole_id?:string
Defined in: discord/guild.ts:454
Role Id that this integration uses for "subscribers"
Inherited from
scopes
scopes:
OAuth2Scope[]
Defined in: discord/guild.ts:474
the scopes the application has been authorized for
Inherited from
subscriber_count?
optionalsubscriber_count?:number
Defined in: discord/guild.ts:468
How many subscribers this integration has
Inherited from
DiscordIntegration.subscriber_count
synced_at?
optionalsynced_at?:string
Defined in: discord/guild.ts:466
When this integration was last synced
Inherited from
syncing?
optionalsyncing?:boolean
Defined in: discord/guild.ts:452
Is this integration syncing
Inherited from
type
type:
"twitch"|"youtube"|"discord"|"guild_subscription"
Defined in: discord/guild.ts:448
Integration type (twitch, youtube, discord, or guild_subscription).
Inherited from
user?
optionaluser?:DiscordUser
Defined in: discord/guild.ts:462
User for this integration