Added the 'help' command. Output is unordered thought

This commit is contained in:
ION606
2022-05-20 12:19:27 +03:00
parent 8a1246edac
commit 4cd8a42985
3 changed files with 49 additions and 11 deletions
+12
View File
@@ -0,0 +1,12 @@
module.exports ={
name: "game",
description: "Play a game using Selmer Bot!",
execute(message, args, Discord, Client, bot) {
let temp = "Selmer Bot Commands:\n";
var keys = bot.commands.keys();
for (let i = 0; i < keys.length; i ++) {
temp += keys[i].toLowerCase();
temp += ` - ${bot.commands.get(keys[i]).description}\n`;
}
}
}