diff options
| author | pokesudenk <thisis@notarealema.il> | 2018-02-25 13:08:19 -0500 |
|---|---|---|
| committer | pokesudenk <thisis@notarealema.il> | 2018-02-25 13:08:19 -0500 |
| commit | 060792543b25e8194d9a5687392a743fae5c5f6d (patch) | |
| tree | 5b583cb6988107ddc406d91568c2c90d993225ee /commands/Getting Started | |
| parent | 815230a264de36f692a5754ccd00054ff48347d9 (diff) | |
| download | PokeBot-060792543b25e8194d9a5687392a743fae5c5f6d.tar.gz PokeBot-060792543b25e8194d9a5687392a743fae5c5f6d.tar.bz2 PokeBot-060792543b25e8194d9a5687392a743fae5c5f6d.zip | |
TradeGym plugin + license info
Diffstat (limited to 'commands/Getting Started')
| -rw-r--r-- | commands/Getting Started/help.js | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/commands/Getting Started/help.js b/commands/Getting Started/help.js deleted file mode 100644 index 13ac206..0000000 --- a/commands/Getting Started/help.js +++ /dev/null @@ -1,31 +0,0 @@ -exports.run = (bot, msg) => { - const { RichEmbed } = require('discord.js'); - const embed = new RichEmbed(); - embed - .setColor (0x00ae86) - .setDescription('Notice: When using a command do not include "<" and ">".\n(Example: p:suggest Test)') - .setFooter('PokeBot Beta'); - - const categories = Array.from(bot.categories.keys()); - categories.forEach(x => { - let cat = ''; - const commands = bot.categories.get(x); - commands.forEach(cmd => { - const command = bot.commands.get(x).get(cmd); - const usage = command.help.usage ? `*${command.help.usage}* ` : ''; - cat += `**p:${command.help.name}** ${usage}| ${command.help.description} \n`; - }); - embed.addField(`${x} |`, cat); - }); - msg.channel.send({ embed }); -}; - -exports.conf = { - aliases: [], - guildOnly: true, -}; - -exports.help = { - name: 'help', - description: 'Displays this help message.', -}; |
