Skip to main content
Module

x/discord_api_types/payloads/v8/guild.ts>APIGuildIntegration

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface APIGuildIntegration
Deprecated
Deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

import { type APIGuildIntegration } from "https://deno.land/x/discord_api_types@0.37.2/payloads/v8/guild.ts";

Properties

Integration id

name: string

Integration name

Integration type

enabled: boolean

Is this integration enabled

optional
syncing: boolean

Is this integration syncing

This field is not provided for discord bot integrations.

optional
role_id: Snowflake

ID that this integration uses for "subscribers"

This field is not provided for discord bot integrations.

optional
enable_emoticons: boolean

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

This field is not provided for discord bot integrations.

optional
expire_behavior: IntegrationExpireBehavior

The behavior of expiring subscribers

This field is not provided for discord bot integrations.

See https://discord.com/developers/docs/resources/guild#integration-object-integration-expire-behaviors

optional
expire_grace_period: number

The grace period (in days) before expiring subscribers

This field is not provided for discord bot integrations.

optional
user: APIUser

User for this integration

This field is not provided for discord bot integrations.

See https://discord.com/developers/docs/resources/user#user-object

optional
synced_at: string

When this integration was last synced

This field is not provided for discord bot integrations.

optional
subscriber_count: number

How many subscribers this integration has

This field is not provided for discord bot integrations.

optional
revoked: boolean

Has this integration been revoked

This field is not provided for discord bot integrations.

optional
application: APIGuildIntegrationApplication

The bot/OAuth2 application for discord integrations

See https://discord.com/developers/docs/resources/guild#integration-application-object

This field is not provided for discord bot integrations.