remove fucked unicode generator
This commit is contained in:
parent
4c84e7ff2a
commit
fc47b89c24
10
index.js
10
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")
|
||||
|
Loading…
Reference in New Issue
Block a user