diff --git a/commands/hb.js b/commands/hb.js index dd8cd99..f83de3f 100644 --- a/commands/hb.js +++ b/commands/hb.js @@ -40,8 +40,8 @@ exports.run = (client, message, args) => { ); message.channel.send( - `With **${hbPoints}** points in your hero boost, you will boost with a ${get_damage_multiplier( + `With **${hbPoints}** points in your hero boost, you will boost with a **${get_damage_multiplier( hbPoints - ).toFixed(4)} damage multiplier.` + ).toFixed(4)}** damage multiplier.` ); }; diff --git a/commands/help.js b/commands/help.js index 247b020..47e8651 100644 --- a/commands/help.js +++ b/commands/help.js @@ -1,7 +1,7 @@ const { EmbedBuilder } = require("discord.js"); exports.name = "help"; exports.description = - ":scroll: Shows this message. (this bot is a crude imitation of tbolt's better bot :P)"; + ":scroll: Shows this message and provides insight into other commands."; exports.usage = "< { } ); } else { - client.commands.forEach((cmd) => { - if (cmd.hidden && message.author.id != client.ownerID) return; - embed.addFields({ - name: cmd.name, - value: cmd.description, + [...client.commands.values()] + .sort((a, b) => (a.name > b.name ? 1 : -1)) + .forEach((cmd) => { + if (cmd.hidden && message.author.id != client.ownerID) return; + embed.addFields({ + name: cmd.name, + value: cmd.description, + }); }); - }); } embed.setColor(0x00ff00); message.channel.send({ embeds: [embed] }); diff --git a/commands/refetch.js b/commands/refetch.js index 5258806..c558b63 100644 --- a/commands/refetch.js +++ b/commands/refetch.js @@ -1,5 +1,5 @@ exports.name = "refetch"; -exports.description = ":ninja: Refetch user react data. (shiro)"; +exports.description = ":ninja: Refetch user react data."; exports.usage = "< { if (!args[0]) return message.channel.send("Not enough arguments, consult <