mirror of
https://github.com/ION606/selmerBot.git
synced 2026-05-14 21:26:54 +00:00
17 lines
501 B
JavaScript
17 lines
501 B
JavaScript
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";
|
|
|
|
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);
|
|
}
|
|
} |