Class Guild

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

Properties

afkChannelId: null | string
afkTimeout: number
applicationId: null | string
approximateMemberCount: null | number
approximatePresenceCount: null | number
autoModerationRules: AutoModerationRuleManager
available: boolean
banner: null | string
client: Client<true>
defaultMessageNotifications: GuildDefaultMessageNotifications
description: null | string
discoverySplash: null | string
explicitContentFilter: GuildExplicitContentFilter
features: ("ANIMATED_BANNER" | "ANIMATED_ICON" | "APPLICATION_COMMAND_PERMISSIONS_V2" | "AUTO_MODERATION" | "BANNER" | "COMMUNITY" | "CREATOR_MONETIZABLE_PROVISIONAL" | "CREATOR_STORE_PAGE" | "DEVELOPER_SUPPORT_SERVER" | "DISCOVERABLE" | "FEATURABLE" | "HAS_DIRECTORY_ENTRY" | "HUB" | "INVITES_DISABLED" | "INVITE_SPLASH" | "LINKED_TO_HUB" | "MEMBER_VERIFICATION_GATE_ENABLED" | "MONETIZATION_ENABLED" | "MORE_STICKERS" | "NEWS" | "PARTNERED" | "PREVIEW_ENABLED" | "PRIVATE_THREADS" | "RAID_ALERTS_DISABLED" | "RELAY_ENABLED" | "ROLE_ICONS" | "ROLE_SUBSCRIPTIONS_AVAILABLE_FOR_PURCHASE" | "ROLE_SUBSCRIPTIONS_ENABLED" | "TICKETED_EVENTS_ENABLED" | "VANITY_URL" | "VERIFIED" | "VIP_REGIONS" | "WELCOME_SCREEN_ENABLED")[]
icon: null | string
id: string
joinedTimestamp: number
large: boolean
maxStageVideoChannelUsers: null | number
maxVideoChannelUsers: null | number
maximumMembers: null | number
maximumPresences: null | number
memberCount: number
mfaLevel: GuildMFALevel
name: string
nsfwLevel: GuildNSFWLevel
ownerId: string
preferredLocale: Locale
premiumProgressBarEnabled: boolean
premiumSubscriptionCount: null | number
premiumTier: GuildPremiumTier
presences: PresenceManager
publicUpdatesChannelId: null | string
rulesChannelId: null | string
safetyAlertsChannelId: null | string
shardId: number
splash: null | string
stageInstances: StageInstanceManager
systemChannelFlags: Readonly<SystemChannelFlagsBitField>
systemChannelId: null | string
vanityURLCode: null | string
vanityURLUses: null | number
verificationLevel: GuildVerificationLevel
voiceStates: VoiceStateManager
widgetChannelId: null | string
widgetEnabled: null | boolean

Accessors

  • get afkChannel(): null | VoiceChannel
  • Returns null | VoiceChannel

  • get createdAt(): Date
  • Returns Date

  • get createdTimestamp(): number
  • Returns number

  • get joinedAt(): Date
  • Returns Date

  • get maximumBitrate(): number
  • Returns number

  • get nameAcronym(): string
  • Returns string

  • get partnered(): boolean
  • Returns boolean

  • get publicUpdatesChannel(): null | TextChannel
  • Returns null | TextChannel

  • get rulesChannel(): null | TextChannel
  • Returns null | TextChannel

  • get safetyAlertsChannel(): null | TextChannel
  • Returns null | TextChannel

  • get systemChannel(): null | TextChannel
  • Returns null | TextChannel

  • get verified(): boolean
  • Returns boolean

Methods

  • Parameters

    Returns null | string

  • Parameters

    • name: string
    • Optional description: string

    Returns Promise<GuildTemplate>

  • Returns Promise<Guild>

  • Parameters

    • Optional disabled: boolean

    Returns Promise<Guild>

  • Parameters

    Returns null | string

  • Parameters

    Returns Promise<Guild>

  • Parameters

    Returns boolean

  • Returns Promise<GuildPreview>

  • Returns Promise<Vanity>

  • Returns Promise<WelcomeScreen>

  • Returns Promise<Widget>

  • Parameters

    Returns null | string

  • Returns Promise<Guild>

  • Parameters

    Returns Promise<Guild>

  • Parameters

    • afkTimeout: number
    • Optional reason: string

    Returns Promise<Guild>

  • Parameters

    • banner: null | string | Buffer
    • Optional reason: string

    Returns Promise<Guild>

  • Parameters

    Returns Promise<Guild>

  • Parameters

    • discoverySplash: null | string | Buffer
    • Optional reason: string

    Returns Promise<Guild>

  • Parameters

    Returns Promise<Guild>

  • Parameters

    • icon: null | string | Buffer
    • Optional reason: string

    Returns Promise<Guild>

  • Parameters

    Returns Promise<Guild>

  • Parameters

    • name: string
    • Optional reason: string

    Returns Promise<Guild>

  • Parameters

    Returns Promise<Guild>

  • Parameters

    • preferredLocale: null | Locale
    • Optional reason: string

    Returns Promise<Guild>

  • Parameters

    • Optional enabled: boolean
    • Optional reason: string

    Returns Promise<Guild>

  • Parameters

    Returns Promise<Guild>

  • Parameters

    Returns Promise<Guild>

  • Parameters

    Returns Promise<Guild>

  • Parameters

    • splash: null | string | Buffer
    • Optional reason: string

    Returns Promise<Guild>

  • Parameters

    Returns Promise<Guild>

  • Parameters

    Returns Promise<Guild>

  • Parameters

    Returns Promise<Guild>

  • Parameters

    Returns Promise<Guild>

  • Parameters

    Returns null | string

  • Returns unknown

  • Returns string

  • Returns string

  • Parameters

    Returns string

Generated using TypeDoc