change node to players

This commit is contained in:
Jonny_Bro (Nikita) 2023-06-27 00:28:41 +05:00
parent 7ace802d3e
commit da2a27bc85
4 changed files with 7 additions and 7 deletions

View file

@ -117,9 +117,9 @@ module.exports.load = async client => {
getValue: username, getValue: username,
}, },
{ {
title: "Node Version", title: "Playing music in this much servers",
icon: "settings-gear-65", icon: "settings-gear-65",
getValue: process.versions.node, getValue: client.player.nodes.cache.size,
}, },
{ {
title: "Users Count", title: "Users Count",
@ -129,10 +129,10 @@ module.exports.load = async client => {
{ {
title: "Servers Count", title: "Servers Count",
icon: "notification-70", icon: "notification-70",
getValue: `${client.guilds.cache.size} out of 2000`, getValue: `${client.guilds.cache.size - 1} out of 2000`,
progressBar: { progressBar: {
enabled: true, enabled: true,
getProgress: Math.round((client.guilds.cache.size / 2000) * 100), getProgress: Math.round(((client.guilds.cache.size - 1) / 2000) * 100),
}, },
}, },
]; ];

View file

@ -1,7 +1,7 @@
{ {
"name": "English", "name": "English",
"index": { "index": {
"feeds": [ "Current User", "Node version", "Users Count", "Servers Count" ], "feeds": [ "Current User", "Playing music in this much servers", "Users Count", "Servers Count" ],
"card": { "card": {
"category": "JaBa Bot", "category": "JaBa Bot",
"title": "Simple bot made by <a href=\"https://github.com/JonnyBro\">Jonny_Bro</a>", "title": "Simple bot made by <a href=\"https://github.com/JonnyBro\">Jonny_Bro</a>",

View file

@ -1,7 +1,7 @@
{ {
"name": "Русский", "name": "Русский",
"index": { "index": {
"feeds": [ "Текущий пользователь", "Версия Node", "Кол-во пользователей", "Кол-во серверов" ], "feeds": [ "Текущий пользователь", "Играю музыку в стольких серверах", "Кол-во пользователей", "Кол-во серверов" ],
"card": { "card": {
"category": "JaBa Bot", "category": "JaBa Bot",
"title": "Простой бот, созданный <a href=\"https://github.com/JonnyBro\">Jonny_Bro</a>", "title": "Простой бот, созданный <a href=\"https://github.com/JonnyBro\">Jonny_Bro</a>",

View file

@ -1,7 +1,7 @@
{ {
"name": "Українська", "name": "Українська",
"index": { "index": {
"feeds": [ "Поточний Користувач", "Версія Node", "Кількість користувачів", "Кількість серверів" ], "feeds": [ "Поточний Користувач", "Играю музыку в стольких серверах", "Кількість користувачів", "Кількість серверів" ],
"card": { "card": {
"category": "JaBa Бот", "category": "JaBa Бот",
"title": "Простий бот, створений <a href=\"https://github.com/JonnyBro\">Jonny_Bro</a>", "title": "Простий бот, створений <a href=\"https://github.com/JonnyBro\">Jonny_Bro</a>",