Files
selmerBot/commands/misc/commandhelp.js
T

17 lines
501 B
JavaScript
Raw Normal View History

2022-04-14 11:08:42 -04:00
module.exports ={
name: "help",
description: "Gets help for all of Selmer Bot's commands",
execute(message, args, Discord, Client, bot) {
let temp = "***Selmer Bot Commands:***\n";
2022-04-14 11:08:42 -04:00
bot.commands.sort((a, b) => a.name[0] < b.name[0]);
bot.commands.forEach((comm) => {
if (comm.name != 'verify') {
temp += `${comm.name.toLowerCase()} - ${comm.description}\n`;
}
});
message.channel.send(temp);
2022-04-14 11:08:42 -04:00
}
}