On this page
$resetGuildVar[]
Resets a guild-scoped variable to its default value (as defined in the Bot Creator Variables UI). Alias: $resetServerVar.
$resetGuildVar[name] or $resetGuildVar[name;Guild ID]
$resetGuildVar restores a guild-scoped variable to its default value defined in the Bot Creator Variables UI. If no default is defined, the stored value is removed. $resetServerVar is an exact alias and can be used interchangeably.
When called with only a name, it resets the variable for the current guild. When a Guild ID is provided, it resets the variable for the specified server.
Use this function to revert server settings to their defaults, clear maintenance mode, or perform bulk resets. After resetting, $getGuildVar returns the default value (if defined) or an empty string. This function does not return any output.