Added support for multiple processing emojis, fixed issue with local image processing

This commit is contained in:
TheEssem 2021-04-23 15:03:48 -05:00
parent 4e4ae3613f
commit ebfab817d7
4 changed files with 146 additions and 134 deletions

View file

@ -2,6 +2,7 @@ const util = require("util");
// random(array) to select a random entry in array
exports.random = (array) => {
if (!array || array.length < 1) return null;
return array[Math.floor(Math.random() * array.length)];
};