aboutsummaryrefslogtreecommitdiff
path: root/commands/utility/help.js
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-12 05:54:08 -0700
committer8cy <[email protected]>2020-04-12 05:54:08 -0700
commit5b6a874eab03c7e97794fc334ed2f06caf90b094 (patch)
tree4593cfbb2c5e5f4212fb718e426df43c8abfd523 /commands/utility/help.js
parentInitial commit (diff)
downloadminecraftsoundtrackbot-5b6a874eab03c7e97794fc334ed2f06caf90b094.tar.xz
minecraftsoundtrackbot-5b6a874eab03c7e97794fc334ed2f06caf90b094.zip
The Beginning, v1.0.0
Diffstat (limited to 'commands/utility/help.js')
-rw-r--r--commands/utility/help.js29
1 files changed, 29 insertions, 0 deletions
diff --git a/commands/utility/help.js b/commands/utility/help.js
new file mode 100644
index 0000000..5b7174f
--- /dev/null
+++ b/commands/utility/help.js
@@ -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