Skip to main content

DiscordIntegrationCreateUpdate

@discordeno/bot


Documentation / @discordeno/bot / DiscordIntegrationCreateUpdate

Interface: DiscordIntegrationCreateUpdate

Defined in: packages/types/dist/types/discord.d.ts:223

https://discord.com/developers/docs/events/gateway-events#integration-update-integration-update-event-additional-fields

Extends

Properties

account

account: DiscordIntegrationAccount

Defined in: packages/types/dist/types/discord.d.ts:196

Integration account information

Inherited from

DiscordIntegration.account


application?

optional application: DiscordIntegrationApplication

Defined in: packages/types/dist/types/discord.d.ts:198

The bot/OAuth2 application for discord integrations

Inherited from

DiscordIntegration.application


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)

Inherited from

DiscordIntegration.enable_emoticons


enabled?

optional enabled: boolean

Defined in: packages/types/dist/types/discord.d.ts:176

Is this integration enabled

Inherited from

DiscordIntegration.enabled


expire_behavior?

optional expire_behavior: IntegrationExpireBehaviors

Defined in: packages/types/dist/types/discord.d.ts:184

The behavior of expiring subscribers

Inherited from

DiscordIntegration.expire_behavior


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

Inherited from

DiscordIntegration.expire_grace_period


guild_id

guild_id: string

Defined in: packages/types/dist/types/discord.d.ts:225

Id of the guild


id

id: string

Defined in: packages/types/dist/types/discord.d.ts:170

Integration Id

Inherited from

DiscordIntegration.id


name

name: string

Defined in: packages/types/dist/types/discord.d.ts:172

Integration name

Inherited from

DiscordIntegration.name


revoked?

optional revoked: boolean

Defined in: packages/types/dist/types/discord.d.ts:192

Has this integration been revoked

Inherited from

DiscordIntegration.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"

Inherited from

DiscordIntegration.role_id


scopes

scopes: OAuth2Scope[]

Defined in: packages/types/dist/types/discord.d.ts:200

the scopes the application has been authorized for

Inherited from

DiscordIntegration.scopes


subscriber_count?

optional subscriber_count: number

Defined in: packages/types/dist/types/discord.d.ts:190

How many subscribers this integration has

Inherited from

DiscordIntegration.subscriber_count


synced_at?

optional synced_at: string

Defined in: packages/types/dist/types/discord.d.ts:188

When this integration was last synced

Inherited from

DiscordIntegration.synced_at


syncing?

optional syncing: boolean

Defined in: packages/types/dist/types/discord.d.ts:178

Is this integration syncing

Inherited from

DiscordIntegration.syncing


type

type: "twitch" | "youtube" | "discord"

Defined in: packages/types/dist/types/discord.d.ts:174

Integration type (twitch, youtube, discord, or guild_subscription).

Inherited from

DiscordIntegration.type


user?

optional user: DiscordUser

Defined in: packages/types/dist/types/discord.d.ts:194

User for this integration

Inherited from

DiscordIntegration.user