Skip to content
Moderation setGuildWidgetSettings

$setGuildWidgetSettings — Sets the widget settings of a guild, returns bool

Sets the widget settings of a guild, returns bool

Syntax

$setGuildWidgetSettings[guildID;(channelID);(enabled);(reason)]

Parameters

  • guildID (id, required) — The guild to set widget settings on
  • channelID (id, optional) — The invite channel for the widget
  • enabled (boolean, optional) — Whether to enable the widget
  • reason (text, optional) — The reason for this action

Return Value

  • Boolean.

Usage

$setGuildWidgetSettings[guildID;(channelID);(enabled);(reason)] → result

Example

$sendMessage[$setGuildWidgetSettings[10;30;true]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.