summaryrefslogtreecommitdiff
path: root/commands/help.js
blob: 27436e1c1f14784e57cb93f438f732c93ecd0777 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
const Discord = require('discord.js');

module.exports = {
    name: 'help',
    aliases: ['h'],
    description: '',
    execute(msg, args, bot) {
        if (!args.length) {
            let emb = new Discord.RichEmbed()

                .setThumbnail(`${msg.guild.iconURL}`)
                .setDescription(`
                    **command list**\nlink not yet set lol\n\n**categories list:**\n\`s5n!help <commands category>\`\n\n**full list**\n\`s5n!commands\`
                `)
                .setColor(0xF97DAE);

            msg.channel.send(RichEmbed = emb);
        } else if (args[0] == 'quotes' || args[0] == 'quote') {
            let emb = new Discord.RichEmbed()

                .setTitle('quotes -> quote command: (server only)')
                .setThumbnail(`${msg.guild.iconURL}`)
                .setDescription(`says random quote from adventure time`)
                .addField('details', `says random quote from adventure time
no argument: says a quote from any of the adventure time characters.
finn: says a quote from finn from adventure time.
jake: says a quote from jake from adventure time.
ice-king: says a quote from ice king from adventure time.`, false)
                .addField(`format`, `\`s5n!quote [finn | jake | ice-king]\``, true)
                .addField('examples', `\`s5n!quote\` - says a random quote any of the adventure time characters
\`s5n!quote finn\` - says a quote from finn from adventure time`, false)
                .setFooter('<> - required, | - either/or, {} - optional')
                .setColor(0xF97DAE);

            msg.channel.send(RichEmbed = emb);
        }
    }
};