Не показывать префикс в статусе

This commit is contained in:
JonnyBro 2021-12-16 16:40:45 +05:00
parent e9e978839d
commit 426da0324d

View file

@ -36,10 +36,9 @@ module.exports = class {
if (client.config.dashboard.enabled) client.dashboard.load(client); if (client.config.dashboard.enabled) client.dashboard.load(client);
// Update the game every 20s // Update the game every 20s
const prefix = require("../config").prefix;
const status = [ const status = [
{ name: `{servers} сервер(а/ов)`, type: "WATCHING" }, { name: `{servers} сервер(а/ов)`, type: "WATCHING" },
{ name: `${prefix}help`, type: "WATCHING" } { name: "help", type: "WATCHING" }
]; ];
const version = require("../package.json").version; const version = require("../package.json").version;
let i = 0; let i = 0;