LEss Zalgo

This commit is contained in:
Daniel Odendahl Jr
2017-09-29 18:05:09 +00:00
parent 87c4ca6635
commit 943e763638
+3 -3
View File
@@ -28,9 +28,9 @@ module.exports = class ZalgoCommand extends Command {
for (let i = 0; i < text.length; i++) {
result += text[i];
const counts = {
up: Math.floor(Math.random() * 16) + 1,
middle: Math.floor(Math.random() * 4) + 1,
down: Math.floor(Math.random() * 64) + 1
up: Math.floor(Math.random() * 8) + 1,
middle: Math.floor(Math.random() * 3),
down: Math.floor(Math.random() * 8) + 1
};
for (const type of Object.keys(counts)) {
let count = counts[type];