Fix queue.setPaused(false) return notification
This commit is contained in:
parent
8e83a2ded5
commit
6799ff12d7
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue