Skip to main content

DiscordIntegration

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordIntegration

Interface: DiscordIntegration

https://discord.com/developers/docs/resources/guild#integration-object-integration-structure

Extended by

Properties

account

account: DiscordIntegrationAccount

Integration account information

Defined in

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


application?

optional application: DiscordIntegrationApplication

The bot/OAuth2 application for discord integrations

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)

Defined in

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


enabled?

optional enabled: boolean

Is this integration enabled

Defined in

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


expire_behavior?

optional expire_behavior: IntegrationExpireBehaviors

The behavior of expiring subscribers

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

Defined in

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


id

id: string

Integration Id

Defined in

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


name

name: string

Integration name

Defined in

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


revoked?

optional revoked: boolean

Has this integration been 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"

Defined in

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


scopes

scopes: OAuth2Scope[]

the scopes the application has been authorized for

Defined in

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


subscriber_count?

optional subscriber_count: number

How many subscribers this integration has

Defined in

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


synced_at?

optional synced_at: string

When this integration was last synced

Defined in

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


syncing?

optional syncing: boolean

Is this integration syncing

Defined in

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


type

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

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

Defined in

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


user?

optional user: DiscordUser

User for this integration

Defined in

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