v5.0.0
$setVar
Set a global variable value for everyone to access
This function set's a global variable
1
$setVar[variable;value]
Copied!
1
bot.command({
2
name: "setVar",
3
code: `Set a global var
4
$setVar[globalXP;25]` //This value will be the same for all users in all servers
5
})
Copied!
THIS IS NOT A GLOBAL USER VARIABLE
Last modified 1mo ago
Copy link
Edit on GitHub