Discord.https - v3.0.16
    Preparing search index...

    Interface APIGuildIntegration

    interface APIGuildIntegration {
        account: APIIntegrationAccount;
        application?: APIGuildIntegrationApplication;
        enable_emoticons?: boolean;
        enabled: boolean;
        expire_behavior?: IntegrationExpireBehavior;
        expire_grace_period?: number;
        id: string;
        name: string;
        revoked?: boolean;
        role_id?: string;
        scopes?: OAuth2Scopes[];
        subscriber_count?: number;
        synced_at?: string;
        syncing?: boolean;
        type: APIGuildIntegrationType;
        user?: APIUser;
    }
    Index

    Properties

    Integration account information

    The bot/OAuth2 application for discord integrations

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

    This field is not provided for discord bot integrations.

    enable_emoticons?: boolean

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

    This field is not provided for discord bot integrations.

    enabled: boolean

    Is this integration enabled

    expire_behavior?: IntegrationExpireBehavior

    The behavior of expiring subscribers

    This field is not provided for discord bot integrations.

    expire_grace_period?: number

    The grace period (in days) before expiring subscribers

    This field is not provided for discord bot integrations.

    id: string

    Integration id

    name: string

    Integration name

    revoked?: boolean

    Has this integration been revoked

    This field is not provided for discord bot integrations.

    role_id?: string

    ID that this integration uses for "subscribers"

    This field is not provided for discord bot integrations.

    scopes?: OAuth2Scopes[]

    The scopes the application has been authorized for

    subscriber_count?: number

    How many subscribers this integration has

    This field is not provided for discord bot integrations.

    synced_at?: string

    When this integration was last synced

    This field is not provided for discord bot integrations.

    syncing?: boolean

    Is this integration syncing

    This field is not provided for discord bot integrations.

    Integration type

    user?: APIUser

    User for this integration

    Some older integrations may not have an attached user.