remove fucked unicode generator

This commit is contained in:
hgw 2023-10-02 02:14:35 +00:00
parent 4c84e7ff2a
commit fc47b89c24

View File

@ -37,16 +37,6 @@ const generateRandomString = (amt) => {
return randomString;
}
const randomUnicode = (amt) => {
var array = new Uint16Array(amt);
crypto.getRandomValues(array);
var randStr = '';
for (var i = 0; i < array.amt; i++) {
randStr += String.fromCharCode(array[i]);
};
return randStr;
}
async function help(chan) {
bot.say(chan, 'Fascinus - https://git.supernets.org/hogwart7/fascinus')
bot.say(chan, "$flood [TEXT] [AMOUNT] - Floods the channel with a specific line x amount of times")