Custom Command
FunctionsObject Functions

$objectGet

Get a object value/property by key, if the key is not found then return undefined (same as $getObjectProperty)

Usage

$objectGet[key]

!!exec $createObject[{"BotName":"Custom Commands","BotOwner":"Rake","Contributor":"Wiki"}] Bot name: $objectGet[BotName], Owner: $objectGet[BotOwner], Docs Contributor: $objectGet[Contributor]

Bot name: Custom Commands, Owner: Rake, Docs Contributor: Wiki

Function difficulty: Medium

Tags: Object Get Json Property

On this page