Skip to content

$guildWidgetChannelID

$guildWidgetChannelID will return the guild’s widget channel ID.

Usage

$guildWidgetChannelID[guildID?]

Parameters

FieldTypeDescriptionRequired
guildID?numberThe ID of the guild.false

Example(s)

This will return the widget channel ID of the current guild (if any):

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