mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
красива
This commit is contained in:
parent
621133f5bd
commit
39c223bff1
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue