Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GuildPreview

Hierarchy

Index

Constructors

constructor

Properties

approximateMemberCount

approximateMemberCount: number

approximatePresenceCount

approximatePresenceCount: number

createdAt

createdAt: number

description

description: null | string

discoverySplash

discoverySplash: null | string

discoverySplashURL

discoverySplashURL: null | string

emojis

emojis: Emoji[]

features

features: ("ANIMATED_ICON" | "BANNER" | "COMMERCE" | "COMMUNITY" | "DISCOVERABLE" | "FEATURABLE" | "INVITE_SPLASH" | "MEMBER_VERIFICATION_GATE_ENABLED" | "MONETIZATION_ENABLED" | "MORE_STICKERS" | "NEWS" | "PARTNERED" | "PREVIEW_ENABLED" | "PRIVATE_THREADS" | "ROLE_ICONS" | "ROLE_SUBSCRIPTIONS_ENABLED" | "SEVEN_DAY_THREAD_ARCHIVE" | "THREE_DAY_THREAD_ARCHIVE" | "TICKETED_EVENTS_ENABLED" | "VANITY_URL" | "VERIFIED" | "VIP_REGIONS" | "WELCOME_SCREEN_ENABLED")[]

icon

icon: null | string

iconURL

iconURL: null | string

id

id: string

name

name: string

splash

splash: null | string

splashURL

splashURL: null | string

Methods

dynamicDiscoverySplashURL

  • dynamicDiscoverySplashURL(format?: "jpg" | "jpeg" | "png" | "webp" | "gif", size?: number): null | string
  • Parameters

    • Optional format: "jpg" | "jpeg" | "png" | "webp" | "gif"
    • Optional size: number

    Returns null | string

dynamicIconURL

  • dynamicIconURL(format?: "jpg" | "jpeg" | "png" | "webp" | "gif", size?: number): null | string
  • Parameters

    • Optional format: "jpg" | "jpeg" | "png" | "webp" | "gif"
    • Optional size: number

    Returns null | string

dynamicSplashURL

  • dynamicSplashURL(format?: "jpg" | "jpeg" | "png" | "webp" | "gif", size?: number): null | string
  • Parameters

    • Optional format: "jpg" | "jpeg" | "png" | "webp" | "gif"
    • Optional size: number

    Returns null | string

inspect

toJSON

  • Parameters

    • Optional props: string[]

    Returns JSONCache

toString

  • toString(): string
  • Returns string

Static getCreatedAt

  • getCreatedAt(id: string): number
  • Parameters

    • id: string

    Returns number

Static getDiscordEpoch

  • getDiscordEpoch(id: string): number
  • Parameters

    • id: string

    Returns number

Generated using TypeDoc