diff options
Diffstat (limited to 'commands/help.js')
| -rw-r--r-- | commands/help.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/commands/help.js b/commands/help.js index b4d2d86..67ed896 100644 --- a/commands/help.js +++ b/commands/help.js @@ -1,17 +1,18 @@ const { SlashCommandBuilder } = require('@discordjs/builders'); const { MessageEmbed } = require("discord.js"); +const { AudioResource } = require("@discordjs/voice"); const config = require("../config.json"); module.exports = { data: new SlashCommandBuilder() .setName('help') - .setDescription('Lists commands for the bot.'), - async execute(interaction, bot) { + .setDescription('Lists the commands'), + async execute(interaction, bot, audio) { const helpEmbed = new MessageEmbed() .setAuthor({name:`${bot.user.username} Help`, iconURL:bot.user.avatarURL()}) - //.setDescription(`Currently playing \`${audio}\`.`) - .addField('Public Commands', `${config.prefix}help\n${config.prefix}ping\n${config.prefix}git\n${config.prefix}playing\n${config.prefix}about\n`, true) - .addField('Bot Owner Only', `${config.prefix}join\n${config.prefix}resume\n${config.prefix}pause\n${config.prefix}skip\n${config.prefix}leave\n${config.prefix}stop\n`, true) + .setDescription(`Currently playing \`${audio}\`.`) + .addField('Public Commands', `/help\n/ping\n/about\n`, true) + .addField('Bot Owner Only', `/join\n/control\n/stop\n`, true) .setFooter({text:'© Copyright 2020-2022 Andrew Lee. Licensed with GPL-3.0.'}) .setColor('#0066ff') |
