Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oasis/packages/deps.ts>DiscordIntegration

An object oriented Discordeno framework
Latest
interface DiscordIntegration
Re-export
import { type DiscordIntegration } from "https://deno.land/x/oasis@2.1.0/packages/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