From 6799ff12d70542ebb22220775eb95acbef4bab63 Mon Sep 17 00:00:00 2001 From: aiko-chan-ai <71698422+aiko-chan-ai@users.noreply.github.com> Date: Thu, 19 Aug 2021 23:09:08 +0700 Subject: [PATCH] Fix queue.setPaused(false) return notification --- example/music-bot/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/music-bot/index.js b/example/music-bot/index.js index 99914ba..360c7e1 100644 --- a/example/music-bot/index.js +++ b/example/music-bot/index.js @@ -265,7 +265,7 @@ client.on("interactionCreate", async (interaction) => { const queue = player.getQueue(interaction.guildId); if (!queue || !queue.playing) return void interaction.followUp({ content: "❌ | No music is being played!" }); const success = queue.setPaused(false); - return void interaction.followUp({ content: success ? "▶ | Resumed!" : "❌ | Something went wrong!" }); + return void interaction.followUp({ content: success ? "❌ | Something went wrong!" : "▶ | Resumed!" }); } else if (interaction.commandName === "stop") { await interaction.deferReply(); const queue = player.getQueue(interaction.guildId);