$getObjectProperty
To get the value of the json that has been created use $createObject
.
Usage:
$getObjectProperty[name]
Example:
bot.command({ name: "getobject", code: `$getObjectProperty[hello] // return hi$createObject[{"hello": "hi"}]`})