красива

This commit is contained in:
JonnyBro 2022-01-27 20:06:15 +05:00
parent 621133f5bd
commit 39c223bff1

View file

@ -83,7 +83,7 @@ class Help extends Command {
}); });
categories.sort().forEach((cat) => { categories.sort().forEach((cat) => {
const tCommands = commands.filter((cmd) => cmd.help.category === cat); const tCommands = commands.filter((cmd) => cmd.help.category === cat);
embed.addField(`${emojis.categories[cat.toLowerCase()]} ${cat} - (${tCommands.size})`, `${tCommands.map((cmd) => `${cmd.help.name}`).join(", ")}`); embed.addField(`${emojis.categories[cat.toLowerCase()]} ${cat} - (${tCommands.size})`, `${tCommands.map((cmd) => `\`${cmd.help.name}\``).join(", ")}`);
}); });
if (message.guild) { if (message.guild) {