v5.0.0
$deleteUserVar
This function deletes the specified variable from the database

Fields

This function has 1 required field
  1. 1.
    Variable (Required)
  2. 2.
    User ID (Optional)
  3. 3.
    Guild ID (Optional)
Raw Usage: $deleteUserVar[variable;userID (optional);guildID (optional)]

Options

  • Variable - The variable we're deleting
  • User ID - The user we're deleting for
  • Guild ID - The guild where the user is

Usage

Without optional fields
1
bot.command({
2
name: "deleteVar",
3
code: `$deleteUserVar[money]`
4
})
Copied!
With optional fields
1
bot.command({
2
name: "deleteVar",
3
code: `$deleteUserVar[money;$mentioned[1]]`
4
})
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub