lampdiscordbot/util.js

2 lines
62 B
JavaScript

global.random = x => x[Math.floor(Math.random() * x.length)];