Latest
interface DiscordIntegration
import { type DiscordIntegration } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/fileloader/deps.ts";

Properties

id: string

Integration Id

name: string

Integration name

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

Integration type (twitch, youtube or discord)

optional
enabled: boolean

Is this integration enabled

optional
syncing: boolean

Is this integration syncing

optional
role_id: string

Role Id that this integration uses for "subscribers"

optional
enable_emoticons: boolean

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

optional
expire_behavior: IntegrationExpireBehaviors

The behavior of expiring subscribers

optional
expire_grace_period: number

The grace period (in days) before expiring subscribers

optional
synced_at: string

When this integration was last synced

optional
subscriber_count: number

How many subscribers this integration has

optional
revoked: boolean

Has this integration been revoked

optional
user: DiscordUser

User for this integration

Integration account information

optional
application: DiscordIntegrationApplication

The bot/OAuth2 application for discord integrations

scopes: string[]

the scopes the application has been authorized for

import DiscordIntegration
import { DiscordIntegration } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/fileloader/deps.ts";