From 37f16a51fd5595e3f85a533115cd3929d97f5ec0 Mon Sep 17 00:00:00 2001 From: Marius Begby Date: Mon, 10 Jul 2023 11:41:59 +0200 Subject: [PATCH] fix: update user reply with info about /play on empty queue --- commands/filters.js | 2 +- commands/pause.js | 2 +- commands/queue.js | 2 +- commands/remove.js | 2 +- commands/skip.js | 2 +- commands/volume.js | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/commands/filters.js b/commands/filters.js index fa2c225..650eaab 100644 --- a/commands/filters.js +++ b/commands/filters.js @@ -37,7 +37,7 @@ module.exports = { embeds: [ new EmbedBuilder() .setDescription( - `**Failed**\nThere are no tracks in the queue.` + `**Failed**\nThere are no tracks in the queue. Add tracks with \`/play\`!` ) .setColor(embedColors.colorWarning) ] diff --git a/commands/pause.js b/commands/pause.js index 18ce475..acd2cac 100644 --- a/commands/pause.js +++ b/commands/pause.js @@ -27,7 +27,7 @@ module.exports = { embeds: [ new EmbedBuilder() .setDescription( - `**Failed**\nThere are no tracks in the queue.` + `**Failed**\nThere are no tracks in the queue. Add tracks with \`/play\`!` ) .setColor(embedColors.colorWarning) ] diff --git a/commands/queue.js b/commands/queue.js index d22598f..5bb7626 100644 --- a/commands/queue.js +++ b/commands/queue.js @@ -30,7 +30,7 @@ module.exports = { let queueString = ''; if (!queue) { - queueString = 'There are no tracks in the queue.'; + queueString = 'There are no tracks in the queue. Add tracks with \`/play\`!'; return await interaction.editReply({ embeds: [ new EmbedBuilder() diff --git a/commands/remove.js b/commands/remove.js index b830144..72b1c3f 100644 --- a/commands/remove.js +++ b/commands/remove.js @@ -34,7 +34,7 @@ module.exports = { embeds: [ new EmbedBuilder() .setDescription( - `**Failed**\nThere are no tracks in the queue.` + `**Failed**\nThere are no tracks in the queue. Add tracks with \`/play\`!` ) .setColor(embedColors.colorWarning) ] diff --git a/commands/skip.js b/commands/skip.js index 7526f30..befc28f 100644 --- a/commands/skip.js +++ b/commands/skip.js @@ -35,7 +35,7 @@ module.exports = { embeds: [ new EmbedBuilder() .setDescription( - `**Failed**\nThere are no tracks in the queue.` + `**Failed**\nThere are no tracks in the queue. Add tracks with \`/play\`!` ) .setColor(embedColors.colorWarning) ] diff --git a/commands/volume.js b/commands/volume.js index f43f919..57347fe 100644 --- a/commands/volume.js +++ b/commands/volume.js @@ -34,7 +34,7 @@ module.exports = { embeds: [ new EmbedBuilder() .setDescription( - `**Failed**\nThere are no tracks playing or in the queue.` + `**Failed**\nThere are no tracks playing or in the queue. Add tracks with \`/play\`!` ) .setColor(embedColors.colorWarning) ]