From 943e763638670a584b1bf4ca3883a768e4be6d19 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Fri, 29 Sep 2017 18:05:09 +0000 Subject: [PATCH] LEss Zalgo --- commands/text-edit/zalgo.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/text-edit/zalgo.js b/commands/text-edit/zalgo.js index db19518e..5d46147f 100644 --- a/commands/text-edit/zalgo.js +++ b/commands/text-edit/zalgo.js @@ -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];