$arrayPop
$arrayPop
will return the last item of the given array.
Usage
$arrayPop[name]
Parameters
Field | Type | Description | Required |
---|---|---|---|
name | string | Array name. | true |
Example(s)
1client.command({2 name: "array-pop",3 code: `4 $arrayPop[array]5 $createArray[array;aoi.js;akarui;documents;bot]6 `7});