diff options
| author | 8cy <[email protected]> | 2020-04-13 03:54:31 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-04-13 03:54:31 -0700 |
| commit | 3733f7575faba8a06cc65c8eaf3612f80f46a44b (patch) | |
| tree | a9ecd915e5749b960efbae5dd32307b9f998428c /commands/utility/help.cjs | |
| parent | fix join, v1.1.1 (diff) | |
| download | minecraftsoundtrackbot-test.tar.xz minecraftsoundtrackbot-test.zip | |
testtest
Diffstat (limited to 'commands/utility/help.cjs')
| -rw-r--r-- | commands/utility/help.cjs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/commands/utility/help.cjs b/commands/utility/help.cjs new file mode 100644 index 0000000..5b7174f --- /dev/null +++ b/commands/utility/help.cjs @@ -0,0 +1,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); + } +};
\ No newline at end of file |