Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GuildWidget

Hierarchy

  • GuildWidget

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

channelID

channelID: string | null

The widget channel ID.

since

0.0.1

Readonly client

client: Client

The client this store belongs to.

since

0.0.1

enabled

enabled: boolean | null

Whether the widget is enabled, it will be null in the initial state.

since

0.0.1

Readonly guild

guild: Guild

The guild this store belongs to.

since

0.0.1

Accessors

channel

Methods

Protected _patch

fetch

  • fetch(): Promise<this>

getImageURL

modify

  • modify(data: APIGuildWidgetData, requestOptions?: RequestOptions): Promise<this>

toJSON

  • toJSON(): boolean

Generated using TypeDoc