$delete
Deletes a temporary variable that was set with $let.
Usage
$delete[variableName]
This function has one param.
Params
Description
Type
Required
variableName
The temporary variable to delete.
String
Yes
Example
bot.commands.add({
type: "basicCommand",
name: "example",
code: `$let[text;Hello!]
$get[text]
$delete[text]`
})
Last updated
Was this helpful?