This commit is contained in:
Jonny_Bro (Nikita) 2023-03-28 00:17:23 +05:00
parent d428b679b4
commit 9f035903a2

View file

@ -38,7 +38,7 @@ module.exports.update = function (client) {
`**${cmd.command.name}** ${cmd.aliases.length ? `**(${cmd.aliases.join(", ")})**` : ""}`, `**${cmd.command.name}** ${cmd.aliases.length ? `**(${cmd.aliases.join(", ")})**` : ""}`,
client.translate(`${cmd.category.toLowerCase()}/${cmd.command.name}:DESCRIPTION`), client.translate(`${cmd.category.toLowerCase()}/${cmd.command.name}:DESCRIPTION`),
`${cmd.command.name} ${client.translate(`${cmd.category.toLowerCase()}/${cmd.command.name}:USAGE`).replace(/\n/, " \\| ")}`, `${cmd.command.name} ${client.translate(`${cmd.category.toLowerCase()}/${cmd.command.name}:USAGE`).replace(/\n/, " \\| ")}`,
cmd.guildOnly ? "Только на сервере" : "На сервере и в ЛС бота", cmd.command.dm_permission ? "На сервере и в ЛС бота" : "Только на сервере",
]); ]);
}); });
text += `${table(categoriesArray)}\n\n`; text += `${table(categoriesArray)}\n\n`;