An array needs extra quotation marks, square brackets and escape characters before it can be used with $arrayRandomItem. This can be avoided by using an array saved to a custom variable rather than directly adding the array to $arrayRandomItem.
Array 2: $arrayRandomItem[["one", "two", "three"]]
Array 3: $arrayRandomItem[[\"one\", \"two\", \"three\"]]
Array 4: $arrayRandomItem["[\"one\", \"two\", \"three\"]"]```
2. View logs to see that only array 4 produces a random item.
### Expected Behavior
Log message should look something like this:
"Array 1:
Array 2: ]
Array 3: ]
Array 4: two"
Array 2 and 3 will always show a closing bracket.
### Firebot Version
v5.63.2
### Submitted By
oshimia
> Created via Discord.