Skip to content

Commit

Permalink
fix: skip command not responding (SudhanPlayz#1131)
Browse files Browse the repository at this point in the history
fix: skip command not interacting

when you use /skip with no songs in the queue, the command times out and you do not get an interaction.
  • Loading branch information
Assassin654 authored Dec 2, 2022
1 parent bad8bc2 commit f7d9b1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/slash/skip.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const command = new SlashCommand()
ephemeral: true,
});
}

const song = player.queue.current;
const autoQueue = player.get("autoQueue");
if (player.queue[0] == undefined && (!autoQueue || autoQueue === false)) {
return interaction.reply({
Expand Down

0 comments on commit f7d9b1b

Please sign in to comment.