aboutsummaryrefslogtreecommitdiff
path: root/commands/utility/help.cjs
blob: 5b7174faca4afb0ee951c01391443619604e28cf (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
const { Command } = require('discord.js-commando');
const emoji = require('emoji-random');
const { MessageEmbed } = require('discord.js');

module.exports = class HelpUtility extends Command {
    constructor(client) {
        super(client, {
            name: 'help',
            aliases: ['h'],
            group: 'utility',
            memberName: 'help',
            description: 'Help.',
            throttling: {
                usages: 2,
                duration: 5
            },
            guildOnly: true,
            examples: ['msb!help', 'msb!h']
        });
    }
    run(msg) {
        let embed = new MessageEmbed()
            .setColor(0x529B30)
            .setTitle('MinecraftSoundtrackBot - Help')
            .addField('Normal Commands', '**msb!join** - Joins your current voice channel.\n**msb!leave** - Leaves the voice channel and ends playback.\n**msb!loop** - Loops the soundtrack.\n**msb!pause** - Pauses soundtrack playback if playing.\n**msb!play** - Plays the Minecraft soundtrack.\n**msb!queue** - Displays the song queue\n**msb!remove** - Remove a certain song from the soundtrack queue.\n**msb!resume** - Resumes the soundtrack if paused.\n**msb!shuffle** - Shuffles the soundtrack queue.\n**msb!skip** - Skips one song ahead in the soundtrack queue.\n**msb!skipall** - Skips all the songs in the soundtrack queue.\n**msb!skipto** - Skip to a certain song in the soundtrack queue.\n**msb!volume** - Changes the volume of playback.')
            .setFooter(`Bot developed and administrated by sin#1337.`, this.client.users.cache.get('217348698294714370').avatarURL());
        msg.say(embed);
    }
};