Skip to content

GuildPreview

GuildPreview represents a user on Discord, encapsulating user data such as username, avatar, and various flags.

Properties

id

GuildPreview.id  :: string

name

GuildPreview.name  :: string

icon

GuildPreview.icon  :: string?

splash

GuildPreview.splash  :: string?

discoverySplash

GuildPreview.discoverySplash  :: string?

emojis

GuildPreview.emojis  :: { Objects.DiscordEmoji }

features

GuildPreview.features  :: { string }

approximateMemberCount

GuildPreview.approximateMemberCount  :: number

approximatePresenceCount

GuildPreview.approximatePresenceCount  :: number

description

GuildPreview.description  :: string?

stickers

GuildPreview.stickers  :: { Objects.DiscordSticker }

Methods

The GuildPreview instance has no set methods!

Functions

new

GuildPreview . new (

     discordClient: any
     guildPreview: { ... }
)  -> ()

Creates a new instance of GuildPreview.