пропустил скобку

This commit is contained in:
JonnyBro 2021-12-18 19:18:30 +05:00
parent 99d1451d82
commit 9040f7bf57

View file

@ -24,7 +24,7 @@ module.exports = {
[ "Название", "Описание", "Использование", "Откат" ]
];
const cmds = commands.filter((cmd) => cmd.help.category === cat).array();
text += `### ${cat} (${cmds.length} ${getNoun(cmds.length, "команда", "команды", "команд")}\n\n`;
text += `### ${cat} (${cmds.length} ${getNoun(cmds.length, "команда", "команды", "команд")})\n\n`;
cmds.sort(function(a, b) {
if (a.help.name < b.help.name) return -1;
else return 1;