This commit is contained in:
2025-08-07 23:35:29 +02:00
parent 5381bed30a
commit 805fc266d5
11 changed files with 961 additions and 398 deletions

22
commands/cat.js Normal file
View File

@ -0,0 +1,22 @@
exports.name = "cat";
exports.description = ":cat: Calculates boost for cat.";
exports.usage = "<<cat <boost> <levels>";
exports.example = "<<cat 80 120";
exports.run = (client, message, args) => {
if (!args[0] || !args[1])
return message.channel.send("Not enough arguments, consult <<help.");
let boost = parseInt(args[0]);
let levels = parseInt(args[1]);
if (isNaN(boost) || isNaN(levels))
return message.channel.send(
"Boost or levels is not a number. Consult <<help."
);
let extraboost = Math.floor(levels / 3 - 3);
let players = Math.floor(levels / 29) + 1;
if (players > 4) players = 4;
message.channel.send(
`Your cat's boost should be atleast **${
boost + extraboost
}**. It will boost atleast **${players}** players.`
);
};