Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/denocordts/src/structures/mod.ts>GuildIntegration

An Object Oriented Discord API wrapper for Deno.
Latest
class GuildIntegration
Re-export
import { GuildIntegration } from "https://deno.land/x/denocordts@1.2.0/src/structures/mod.ts";

Constructors

new
GuildIntegration(
guildId: Snowflake,
client: Base,
)

Properties

optional
account: APIGuildIntegration["account"]
optional
application: APIGuildIntegration["application"]

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.

optional
enabled: boolean

Is this integration enabled

optional
enableEmoticons: boolean

ID that this integration uses for "subscribers"

This field is not provided for discord bot integrations.

optional
expireBehaviour: APIGuildIntegration["expire_behavior"]

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
expireGracePeriod: number

The grace period (in days) before expiring subscribers

This field is not provided for discord bot integrations.

Integration id

name: string

Integration Name

optional
revoked: boolean

Has this integration been revoked

This field is not provided for discord bot integrations.

optional
roleId: Snowflake

ID that this integration uses for "subscribers"

This field is not provided for discord bot integrations.

optional
subscriberCount: number

How many subscribers this integration has

This field is not provided for discord bot integrations.

optional
syncedAt: string

When this integration was last synced

This field is not provided for discord bot integrations.

optional
syncing: boolean

Is this integration syncing This field is not provided for discord bot integrations.

type: string

Integration type

optional
user: APIGuildIntegration["user"]

User for this integration

This field is not provided for discord bot integrations.

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