mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-25 14:44:58 +05:00
пропустил скобку
This commit is contained in:
parent
99d1451d82
commit
9040f7bf57
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ module.exports = {
|
||||||
[ "Название", "Описание", "Использование", "Откат" ]
|
[ "Название", "Описание", "Использование", "Откат" ]
|
||||||
];
|
];
|
||||||
const cmds = commands.filter((cmd) => cmd.help.category === cat).array();
|
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) {
|
cmds.sort(function(a, b) {
|
||||||
if (a.help.name < b.help.name) return -1;
|
if (a.help.name < b.help.name) return -1;
|
||||||
else return 1;
|
else return 1;
|
||||||
|
|
Loading…
Reference in a new issue