Skip to main content
Module

x/discordeno/mod.ts>DiscordIntegration

Discord API library for Deno
Latest
interface DiscordIntegration
Re-export
import { type DiscordIntegration } from "https://deno.land/x/discordeno@18.0.1/mod.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

account: DiscordIntegrationAccount

Integration account information

optional
application: DiscordIntegrationApplication

The bot/OAuth2 application for discord integrations

scopes: string[]

the scopes the application has been authorized for