From fc47b89c24ce3fbc939fea8e1763c48d7d49d777 Mon Sep 17 00:00:00 2001 From: hgw Date: Mon, 2 Oct 2023 02:14:35 +0000 Subject: [PATCH] remove fucked unicode generator --- index.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/index.js b/index.js index 2f3438d..24c2c85 100644 --- a/index.js +++ b/index.js @@ -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")