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

Fields

This function has 1 required field
  1. 1.
    Variable (Required)
  2. 2.
    Message ID (Optional)
Raw Usage: $deleteMessageVar[variable;messageID (optional)]

Options

  • Variable - The variable we're deleting
  • Message ID - The message we're deleting for

Usage

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