Skip to main content

DiscordIntegrationCreateUpdate

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordIntegrationCreateUpdate

Interface: DiscordIntegrationCreateUpdate

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

Extends

Properties

account

account: DiscordIntegrationAccount

Integration account information

Inherited from

DiscordIntegration.account

Defined in

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


application?

optional application: DiscordIntegrationApplication

The bot/OAuth2 application for discord integrations

Inherited from

DiscordIntegration.application

Defined in

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


enable_emoticons?

optional enable_emoticons: boolean

Whether emoticons should be synced for this integration (twitch only currently)

Inherited from

DiscordIntegration.enable_emoticons

Defined in

packages/types/dist/types/discord.d.ts:182


enabled?

optional enabled: boolean

Is this integration enabled

Inherited from

DiscordIntegration.enabled

Defined in

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


expire_behavior?

optional expire_behavior: IntegrationExpireBehaviors

The behavior of expiring subscribers

Inherited from

DiscordIntegration.expire_behavior

Defined in

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


expire_grace_period?

optional expire_grace_period: number

The grace period (in days) before expiring subscribers

Inherited from

DiscordIntegration.expire_grace_period

Defined in

packages/types/dist/types/discord.d.ts:186


guild_id

guild_id: string

Id of the guild

Defined in

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


id

id: string

Integration Id

Inherited from

DiscordIntegration.id

Defined in

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


name

name: string

Integration name

Inherited from

DiscordIntegration.name

Defined in

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


revoked?

optional revoked: boolean

Has this integration been revoked

Inherited from

DiscordIntegration.revoked

Defined in

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


role_id?

optional role_id: string

Role Id that this integration uses for "subscribers"

Inherited from

DiscordIntegration.role_id

Defined in

packages/types/dist/types/discord.d.ts:180


scopes

scopes: OAuth2Scope[]

the scopes the application has been authorized for

Inherited from

DiscordIntegration.scopes

Defined in

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


subscriber_count?

optional subscriber_count: number

How many subscribers this integration has

Inherited from

DiscordIntegration.subscriber_count

Defined in

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


synced_at?

optional synced_at: string

When this integration was last synced

Inherited from

DiscordIntegration.synced_at

Defined in

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


syncing?

optional syncing: boolean

Is this integration syncing

Inherited from

DiscordIntegration.syncing

Defined in

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


type

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

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

Inherited from

DiscordIntegration.type

Defined in

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


user?

optional user: DiscordUser

User for this integration

Inherited from

DiscordIntegration.user

Defined in

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