Skip to content

DiscordIntegration

DiscordIntegration represents a guild integration.

Properties

guildId

DiscordIntegration.guildId  :: string

id

DiscordIntegration.id  :: string

name

DiscordIntegration.name  :: string

type

DiscordIntegration.type  :: number

enabled

DiscordIntegration.enabled  :: boolean

syncing

DiscordIntegration.syncing  :: boolean?

roleId

DiscordIntegration.roleId  :: string?

enableEmoticons

DiscordIntegration.enableEmoticons  :: boolean?

expireBehaviour

DiscordIntegration.expireBehaviour  :: number?

expireGracePeriod

DiscordIntegration.expireGracePeriod  :: number?

user

DiscordIntegration.user  :: Objects.DiscordUser?

account

DiscordIntegration.account  :: {
       id: string,
       name: string,
    }

syncedAt

DiscordIntegration.syncedAt  :: string?

subscriberCount

DiscordIntegration.subscriberCount  :: number?

revoked

DiscordIntegration.revoked  :: boolean?

application

DiscordIntegration.application  :: Objects.Application?

scopes

DiscordIntegration.scopes  :: { string }?

Methods

deleteAsync

DiscordIntegration : deleteAsync ()  -> Vendor.Future<unknown>

Deletes the invite asynchronously.

Functions

new

DiscordIntegration . new (

     discordClient: any
     integrationData: table
)  -> ()

Creates a new instance of DiscordIntegration.