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

x/natico/examples/deps.ts>DiscordenoIntegration

A powerful and customizable framework for Discordeno
Latest
interface DiscordenoIntegration
Re-export
import { type DiscordenoIntegration } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.ts";

Properties

guildId: bigint

The guild id for where this integration is location.

id: bigint

Integration Id

name: string

Integration name

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

Integration type (twitch, youtube or discord)

enabled: boolean

Is this integration enabled

optional
syncing: boolean

Is this integration syncing

optional
roleId: bigint

Role Id that this integration uses for "subscribers"

optional
enableEmoticons: boolean

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

optional
expireBehavior: IntegrationExpireBehaviors

The behavior of expiring subscribers

optional
expireGracePeriod: number

The grace period (in days) before expiring subscribers

optional
user: DiscordenoUser

User for this integration

account: { id: bigint; name: string; }

Integration account information

optional
syncedAt: number

When this integration was last synced

optional
subscriberCount: number

How many subscribers this integration has

optional
revoked: boolean

Has this integration been revoked

optional
application: { id: bigint; name: string; icon?: bigint; description: string; summary: string; bot?: DiscordenoUser; }

The bot/OAuth2 application for discord integrations