aboutsummaryrefslogtreecommitdiff
path: root/commands/utility/help.cjs
diff options
context:
space:
mode:
Diffstat (limited to 'commands/utility/help.cjs')
-rw-r--r--commands/utility/help.cjs29
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