Skip to main content
Module

x/natico/mod.ts>Integration

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

Properties

id: string

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: string

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: User

User for this integration

Integration account information

optional
syncedAt: string

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: IntegrationApplication

The bot/OAuth2 application for discord integrations