Skip to content

GuildWidget

The GuildWidget class provides a way for developers to interact with a Widget.

Properties

id

GuildWidget.id  :: string

name

GuildWidget.name  :: string

instantInvite

GuildWidget.instantInvite  :: string?

channels

GuildWidget.channels  :: { Objects.DiscordChannel }

members

GuildWidget.members  :: { Objects.DiscordUser }

presenceCount

GuildWidget.presenceCount  :: number

type

GuildWidget.type  :: string

The type of the GuildWidget. Default is “GuildWidget”.

Methods

The GuildWidget instance has no set methods!

Functions

new

GuildWidget . new ()  -> ()

Creates a new GuildWidget instance.