v5.0.0
$let
This function allows you to assign a key to a value. This is identical to $addObjectProperty but it's easier and doesn't require $createObject

Fields

This function has 2 fields.
  1. 1.
    Key (Required)
  2. 2.
    Value (Required)
Raw Usage: $let[key;value]

Options

  • Key - The key that will be called with $get​
  • Value - The value assigned to the <key>

Usage

1
bot.command({
2
name: "exmaple",
3
code: `
4
$get[ruben]
5
$let[ruben;gay]
6
`
7
})
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub