$getServerVar
Get the value of the provided server variable.

FUNCTION USAGE

    $getServerVar[varName]
    $getServerVar[varName;guildID]

Properties:

varName - The variable being called in the command guildID - The guild ID of the variable being called. Defaults to current guild if none is defined.

Example 1: Getting the server variable value

1
bot.Command({
2
name: "check",
3
code:`
4
__Total messages sent in the server__
5
$numberSeparator[$getServerVar[serverMsgs];,]
6
`})
Copied!
Only 1 value can be stored in the same variable in each server. This variable accounts for the entire server
Last modified 3mo ago
Copy link
Contents
Properties: