Merge pull request #721 from aiko-chan-ai/patch-1
fix(example): fix resume message
This commit is contained in:
commit
12e448a254
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