mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 13:14:58 +05:00
Кол-во команд в статусе
This commit is contained in:
parent
67ec3bbd19
commit
c5dd646f67
2 changed files with 8 additions and 2 deletions
|
@ -41,8 +41,9 @@ module.exports = class {
|
||||||
let servers = client.guilds.cache.filter(guild => guild.id != "568120814776614924" && guild.id != "892727526911258654").size;
|
let servers = client.guilds.cache.filter(guild => guild.id != "568120814776614924" && guild.id != "892727526911258654").size;
|
||||||
const version = require("../package.json").version;
|
const version = require("../package.json").version;
|
||||||
const status = [
|
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: `${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: "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;
|
let i = 0;
|
||||||
|
|
|
@ -39,6 +39,11 @@
|
||||||
"2": "кредитов",
|
"2": "кредитов",
|
||||||
"5": "кредитов"
|
"5": "кредитов"
|
||||||
},
|
},
|
||||||
|
"COMMANDS": {
|
||||||
|
"1": "команду",
|
||||||
|
"2": "команды",
|
||||||
|
"5": "команд"
|
||||||
|
},
|
||||||
"POINTS": {
|
"POINTS": {
|
||||||
"1": "очко",
|
"1": "очко",
|
||||||
"2": "очка",
|
"2": "очка",
|
||||||
|
|
Loading…
Reference in a new issue