Util.random.choice() - shysolocup/noscord.js GitHub Wiki
chooses randomly between an array or object
type: Function
arguments:
- object
Array/Object
: if it's given an object it'll return the entry and if it's given an array it'll just return the value;
util.random.choice([ "a", "b", "c" ]);
util.random.choice({ key1: "val1", key2: "val2", key3: "val3" });