From 4a455906870e49452ab8d88b793aa1e354499e42 Mon Sep 17 00:00:00 2001 From: Unknown Date: Fri, 23 Feb 2018 20:22:56 -0500 Subject: PLease work --- commands/help.js | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 commands/help.js (limited to 'commands/help.js') diff --git a/commands/help.js b/commands/help.js new file mode 100644 index 0000000..0eb89bf --- /dev/null +++ b/commands/help.js @@ -0,0 +1,23 @@ +exports.run = (bot, msg, args) => { + const { RichEmbed } = require('discord.js'); + msg.channel.send( + new RichEmbed() + .setColor (0x00ae86) + .setTitle('PokeBot Command List') + .setDescription('These are the commands you can use. My prefix is `p:`') + .addField('Core', 'help\nping', true) + .addField('Utility', 'suggest', true) + .setFooter('PokeBot Beta') + ); +}; + +exports.conf = { + aliases: ['h'], + guildOnly: true, +}; + +exports.help = { + name: 'help', + description: 'Help.', + usage: 'help (command)', +}; -- cgit v1.2.3