fix queues size

This commit is contained in:
Jonny_Bro (Nikita) 2023-06-06 22:58:07 +05:00
parent 38a9d23dce
commit 8b4d2cb744
2 changed files with 2 additions and 2 deletions

View file

@ -76,7 +76,7 @@ class Stats extends BaseCommand {
{
name: client.customEmojis.voice + " " + interaction.translate("general/stats:MUSIC_TITLE"),
value: interaction.translate("general/stats:MUSIC_CONTENT", {
count: `${client.player.queues.size} ${client.functions.getNoun(client.player.queues.size, interaction.translate("misc:NOUNS:SERVERS:1"), interaction.translate("misc:NOUNS:SERVERS:2"), interaction.translate("misc:NOUNS:SERVERS:5"))}`,
count: `${client.player.nodes.cache.size} ${client.functions.getNoun(client.player.nodes.cache.size, interaction.translate("misc:NOUNS:SERVERS:1"), interaction.translate("misc:NOUNS:SERVERS:2"), interaction.translate("misc:NOUNS:SERVERS:5"))}`,
}),
},
{

View file

@ -9,7 +9,7 @@
"ONLINE_TITLE": "• __Online__",
"ONLINE_CONTENT": "Been online for {{time}}",
"MUSIC_TITLE": "• __Music__",
"MUSIC_CONTENT": "Playing music on {{count}} servers",
"MUSIC_CONTENT": "Playing music on {{count}}",
"CREDITS_TITLE": ":heart: • __Additional Information__",
"CREDITS_CONTENT": "__**Contributors**__:\n**`Добрый Спецназ`** - Tester, idea generator\n__**Translators**__:\n**`@[ДАННЫЕ УДАЛЕНЫ]`** - :flag_ua:",
"LINKS_TITLE": "• __Links__",