diff --git a/commands/text-edit/zalgo.js b/commands/text-edit/zalgo.js index 375c84ae..c4bf40a2 100644 --- a/commands/text-edit/zalgo.js +++ b/commands/text-edit/zalgo.js @@ -29,9 +29,9 @@ module.exports = class ZalgoCommand extends Command { result += text[i]; if (text[i].length > 1) continue; const counts = { - up: Math.floor(Math.random() * 8) + 1, - middle: Math.floor(Math.random() * 3), - down: Math.floor(Math.random() * 8) + 1 + up: Math.floor(Math.random() * 16) + 1, + middle: Math.floor(Math.random() * 4) + 1, + down: Math.floor(Math.random() * 64) + 1 }; for (const type of Object.keys(counts)) { let count = counts[type]; diff --git a/package.json b/package.json index 5542c772..6c7cc855 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "erlpack": "github:discordapp/erlpack", "mathjs": "^3.16.3", "node-opus": "^0.2.7", - "pg": "^7.3.0", + "pg": "^6.4.2", "pg-hstore": "^2.3.2", "sequelize": "^4.11.5", "snekfetch": "^3.4.1",