diff --git a/commands/text-edit/zalgo.js b/commands/text-edit/zalgo.js index edcf93cd..375c84ae 100644 --- a/commands/text-edit/zalgo.js +++ b/commands/text-edit/zalgo.js @@ -34,7 +34,7 @@ module.exports = class ZalgoCommand extends Command { down: Math.floor(Math.random() * 8) + 1 }; for (const type of Object.keys(counts)) { - const count = counts[type]; + let count = counts[type]; const chars = zalgo[type]; while (count--) result += chars[Math.floor(Math.random() * chars.length)]; }