diff --git a/commands/help.js b/commands/help.js index 904ddff..df891d9 100644 --- a/commands/help.js +++ b/commands/help.js @@ -6,7 +6,7 @@ const { embedColors } = require('../config.json'); module.exports = { data: new SlashCommandBuilder() .setName('help') - .setDescription('Show a list of commands to use.'), + .setDescription('Show a list of commands and their usage.'), run: async ({ interaction }) => { return await interaction.editReply({ embeds: [ @@ -14,14 +14,15 @@ module.exports = { .setDescription( `**List of commands**\n` + `\`/help\` - Show this menu.\n` + - `\`/play\` \`query\` - Add a track to the queue by search query or url.\n` + + `\`/play\` \`query\` - Add a track or playlist to the queue by searching or url.\n` + `\`/pause\` - Pause or resume the current track.\n` + - `\`/skip\` - Skip the current track.\n` + - `\`/remove\` - Remove a track from the queue.\n` + - `\`/leave\` - Remove bot from voice channel and clear queue.\n` + - `\`/queue\` - Show the list of tracks added to the queue.\n` + + `\`/queue\` \`[page]\` - Show the list of tracks added to the queue.\n` + + `\`/nowplaying\` - Show information about the track currently playing.\n` + + `\`/filters\` - Toggle various audio filters during playback.\n` + `\`/volume\` \`[percentage]\` - Show or set the playback volume for tracks.\n` + - `\`/filters\` - Toggle various audio filters during playback.\n` + `\`/skip\` \`[trackNumber]\` - Skip the current track.\n` + + `\`/remove\` \`trackNumber\` - Remove a specific track from the queue.\n` + + `\`/leave\` - Remove bot from voice channel and clear the queue.\n` ) .setColor(embedColors.colorInfo) ] diff --git a/commands/pause.js b/commands/pause.js index acd2cac..6b43a13 100644 --- a/commands/pause.js +++ b/commands/pause.js @@ -6,7 +6,7 @@ const { embedColors } = require('../config.json'); module.exports = { data: new SlashCommandBuilder() .setName('pause') - .setDescription('Pause the currently playing track.'), + .setDescription('Pause or resume the current track.'), run: async ({ interaction }) => { if (!interaction.member.voice.channel) { return await interaction.editReply({ diff --git a/commands/play.js b/commands/play.js index 0cf949c..78ff70c 100644 --- a/commands/play.js +++ b/commands/play.js @@ -6,11 +6,11 @@ const { embedColors, playerOptions } = require('../config.json'); module.exports = { data: new SlashCommandBuilder() .setName('play') - .setDescription('Play a track provided by search terms or URL.') + .setDescription('Add a track or playlist to the queue by searching or url.') .addStringOption((option) => option .setName('query') - .setDescription('Search terms or URL.') + .setDescription('Search query or URL.') .setRequired(true) ), run: async ({ interaction }) => { diff --git a/commands/queue.js b/commands/queue.js index cf3d914..ccfb271 100644 --- a/commands/queue.js +++ b/commands/queue.js @@ -6,7 +6,7 @@ const { embedColors, progressBarOptions } = require('../config.json'); module.exports = { data: new SlashCommandBuilder() .setName('queue') - .setDescription('Show list of tracks added to queue.') + .setDescription('Show the list of tracks added to the queue.') .addNumberOption((option) => option .setName('page') diff --git a/commands/remove.js b/commands/remove.js index 72b1c3f..55e6f18 100644 --- a/commands/remove.js +++ b/commands/remove.js @@ -6,11 +6,11 @@ const { embedColors } = require('../config.json'); module.exports = { data: new SlashCommandBuilder() .setName('remove') - .setDescription('Remove a track from the queue.') + .setDescription('Remove a specific track from the queue.') .addNumberOption((option) => option .setName('tracknumber') - .setDescription('Remove specified track number from queue.') + .setDescription('Track number to remove from queue.') .setMinValue(1) .setRequired(true) ), diff --git a/commands/skip.js b/commands/skip.js index e338099..74dfc4b 100644 --- a/commands/skip.js +++ b/commands/skip.js @@ -6,13 +6,11 @@ const { embedColors } = require('../config.json'); module.exports = { data: new SlashCommandBuilder() .setName('skip') - .setDescription('Skip the currently playing track.') + .setDescription('Skip the current track.') .addNumberOption((option) => option .setName('tracknumber') - .setDescription( - 'Skip to next track or the given track number in the queue.' - ) + .setDescription('Track number to skip to in the queue.') .setMinValue(1) ), run: async ({ interaction }) => { @@ -58,10 +56,10 @@ module.exports = { } else { const skippedTrack = queue.currentTrack; let durationFormat = - skippedTrack.raw.duration === 0 || - skippedTrack.duration === '0:00' - ? '' - : `\`${skippedTrack.duration}\``; + skippedTrack.raw.duration === 0 || + skippedTrack.duration === '0:00' + ? '' + : `\`${skippedTrack.duration}\``; queue.node.skipTo(skipToTrack - 1); return await interaction.editReply({