DiscordIntegration
Documentation / @discordeno/bot / DiscordIntegration
Interface: DiscordIntegration
Defined in: packages/types/dist/types/discord.d.ts:168
https://discord.com/developers/docs/resources/guild#integration-object-integration-structure
Extended by
Properties
account
account:
DiscordIntegrationAccount
Defined in: packages/types/dist/types/discord.d.ts:196
Integration account information
application?
optional
application:DiscordIntegrationApplication
Defined in: packages/types/dist/types/discord.d.ts:198
The bot/OAuth2 application for discord integrations
enable_emoticons?
optional
enable_emoticons:boolean
Defined in: packages/types/dist/types/discord.d.ts:182
Whether emoticons should be synced for this integration (twitch only currently)
enabled?
optional
enabled:boolean
Defined in: packages/types/dist/types/discord.d.ts:176
Is this integration enabled
expire_behavior?
optional
expire_behavior:IntegrationExpireBehaviors
Defined in: packages/types/dist/types/discord.d.ts:184
The behavior of expiring subscribers
expire_grace_period?
optional
expire_grace_period:number
Defined in: packages/types/dist/types/discord.d.ts:186
The grace period (in days) before expiring subscribers
id
id:
string
Defined in: packages/types/dist/types/discord.d.ts:170
Integration Id
name
name:
string
Defined in: packages/types/dist/types/discord.d.ts:172
Integration name
revoked?
optional
revoked:boolean
Defined in: packages/types/dist/types/discord.d.ts:192
Has this integration been revoked
role_id?
optional
role_id:string
Defined in: packages/types/dist/types/discord.d.ts:180
Role Id that this integration uses for "subscribers"
scopes
scopes:
OAuth2Scope
[]
Defined in: packages/types/dist/types/discord.d.ts:200
the scopes the application has been authorized for
subscriber_count?
optional
subscriber_count:number
Defined in: packages/types/dist/types/discord.d.ts:190
How many subscribers this integration has
synced_at?
optional
synced_at:string
Defined in: packages/types/dist/types/discord.d.ts:188
When this integration was last synced
syncing?
optional
syncing:boolean
Defined in: packages/types/dist/types/discord.d.ts:178
Is this integration syncing
type
type:
"twitch"
|"youtube"
|"discord"
Defined in: packages/types/dist/types/discord.d.ts:174
Integration type (twitch, youtube, discord, or guild_subscription).
user?
optional
user:DiscordUser
Defined in: packages/types/dist/types/discord.d.ts:194
User for this integration