Skip to content

$isWidgetEnabled

$isWidgetEnabled will return either true or false depending on if the widget of the guild is enabled.

Usage

$isWidgetEnabled[guildID?]

Parameters

FieldTypeDescriptionRequired
guildID?numberThe ID of the guild.false

Example(s)

This will return true or false depending on if the widget is enabled in the current guild:

1
client.command({
2
name: "isWidgetEnabled",
3
code: `
4
$isWidgetEnabled[$guildID]
5
`
6
});