Skip to content

$let

$let will store temporary variables which can be retrieved by $get.

Usage

$let[varname;value]

Parameters

FieldTypeDescriptionRequired
varnamestringName of the temporary variable.true
valuestringValue of the temporary variable you want to save.true

Example(s)

This will return Ayaka from $get:

1
client.command({
2
name: "let",
3
code: `
4
$get[genius]
5
$let[genius;Ayaka]
6
`
7
});