v5.0.0
$getObject
This function returns stringified JSON Object from $createObject/$addObjectProperty
1
bot.command({
2
name: "object",
3
code: `
4
$getObject
5
$addObjectProperty[beep;boop]
6
$addObjectProperty[hi;bye]
7
$createObject[{}]
8
`
9
/*
10
for this, $getObject returns:
11
{"hi":"bye","beep":"boop"}
12
*/
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub