Кол-во команд в статусе

This commit is contained in:
JonnyBro 2022-01-05 03:38:58 +05:00
parent 67ec3bbd19
commit c5dd646f67
2 changed files with 8 additions and 2 deletions

View file

@ -41,8 +41,9 @@ module.exports = class {
let servers = client.guilds.cache.filter(guild => guild.id != "568120814776614924" && guild.id != "892727526911258654").size;
const version = require("../package.json").version;
const status = [
{ name: `${servers} ${client.getNoun(servers, client.translate("misc:NOUNS:SERVER:1"), client.translate("misc:NOUNS:SERVER:2"), client.translate("misc:NOUNS:SERVER:5"))}`, type: "WATCHING" },
{ name: "help", type: "WATCHING" }
{ name: `${servers} ${client.getNoun(servers, client.translate("misc:NOUNS:SERVER:1"), client.translate("misc:NOUNS:SERVER:2"), client.translate("misc:NOUNS:SERVER:5"))}`, type: "LISTENING" },
{ name: "help", type: "WATCHING" },
{ name: `${client.commands.size} ${client.getNoun(servers, client.translate("misc:NOUNS:COMMANDS:1"), client.translate("misc:NOUNS:COMMANDS:2"), client.translate("misc:NOUNS:COMMANDS:5"))}`, type: "WATCHING"}
];
let i = 0;

View file

@ -39,6 +39,11 @@
"2": "кредитов",
"5": "кредитов"
},
"COMMANDS": {
"1": "команду",
"2": "команды",
"5": "команд"
},
"POINTS": {
"1": "очко",
"2": "очка",