mirror of
https://github.com/ION606/selmerBot.git
synced 2026-06-06 07:12:58 +00:00
Added the 'help' command. Output is unordered thought
This commit is contained in:
@@ -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`;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user