$resetGuildVar restores a guild-scoped variable to its default value defined in the Bot Creator Variables UI. If no default value is declared for the variable, the function raises an error ("No declared default for ...") instead of removing it. A variable that was never declared in the Variables UI but was created by a `$set...Var` write has the first written value as its declared default. $resetServerVar is an exact alias and can be used interchangeably.

The function takes exactly one argument, the variable `name` (an empty name raises an error). It resets the variable in every guild where a value is stored, not only the current one; it does not accept a Guild ID.

Use this function to revert server settings to their defaults, clear maintenance mode, or perform bulk resets. After resetting, $getGuildVar returns the default value. This function does not return any output.

## Examples

### Reset Guild Prefix

```bdfd
$resetGuildVar[customPrefix]
$title[Reset Guild Prefix]
$description[The guild prefix has been reset to default.]
$color[#57F287]
```
