Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 307 Bytes

usdgetobject.md

File metadata and controls

19 lines (16 loc) · 307 Bytes

$getObject

This function returns stringified JSON Object from $createObject/$addObjectProperty

bot.command({
name: "object",
code: `
$getObject
$addObjectProperty[beep;boop]
$addObjectProperty[hi;bye]
$createObject[{}]
`
/*
for this, $getObject returns:
{"hi":"bye","beep":"boop"}
*/