Class Guild

Hierarchy

  • Guild

Constructors

Properties

#client: Client
NSFWLevel: GuildNSFWLevel
__priority: number
afk: {
    channelId: null | bigint;
    timeout: number;
}

Type declaration

  • channelId: null | bigint
  • timeout: number
applicationId: undefined | bigint
approx: {
    members?: number;
    presences?: number;
}

Type declaration

  • Optional members?: number
  • Optional presences?: number
banner?: null | bigint
channels: Group<bigint, Channel> = ...
defaultMessageNotifications: DefaultMessageNotifications
description?: null | string
discoverySlash?: null | bigint
emojis: Group<bigint, Emoji> = ...
explicitContentFilter: ExplicitContentFilterLevel
features: GuildFeatures[]
guildScheduledEvents: Group<bigint, GuildScheduledEvent> = ...
icon?: bigint
iconHash?: bigint
id: bigint
joinedAt?: Date

extra fields

large?: boolean
max: {
    members?: number;
    presences?: number;
    videoChannelUsers?: number;
}

Type declaration

  • Optional members?: number
  • Optional presences?: number
  • Optional videoChannelUsers?: number
memberCount?: number
members: Group<bigint, Member> = ...
mfaLevel: MFALevel
name: string
owner?: boolean
ownerId: bigint
permissions?: bigint
preferredLocale: string
premium: {
    progressBarEnabled: boolean;
    subscriptionCount: number;
    tier: PremiumTier;
}

Type declaration

  • progressBarEnabled: boolean
  • subscriptionCount: number
  • tier: PremiumTier
presences: Group<bigint, Presence> = ...
publicUpdatesChannelId?: null | bigint
roles: Role[]
rulesChannelId: null | bigint
splash?: bigint
stageInstances: Group<bigint, StageInstances> = ...
stickers?: Group<bigint, Sticker> = ...
system: {
    channelFlags: number;
    channelId: null | bigint;
}

Type declaration

  • channelFlags: number
  • channelId: null | bigint
threads: Group<bigint, Channel> = ...
unavailable?: boolean
vanityUrlCode?: null | string
verificationLevel: VerificationLevel
voiceStates: Group<bigint, VoiceState> = ...
widget: {
    channelId?: null | bigint;
    enabled?: boolean;
}

Type declaration

  • Optional channelId?: null | bigint
  • Optional enabled?: boolean

Accessors

  • get parsedSnowflake(): {
        binary: string;
        date: Date;
        increment: bigint;
        processId: bigint;
        timestamp: number;
        workerId: bigint;
    }
  • Returns {
        binary: string;
        date: Date;
        increment: bigint;
        processId: bigint;
        timestamp: number;
        workerId: bigint;
    }

    • binary: string
    • date: Date
    • increment: bigint
    • processId: bigint
    • timestamp: number
    • workerId: bigint

Methods

Generated using TypeDoc