Skip to content

Commit

Permalink
[Fix] skip should also disable loop mode with interactions
Browse files Browse the repository at this point in the history
  • Loading branch information
naseif committed Nov 17, 2021
1 parent e8bd829 commit 320ed0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions commands/Music/skip.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,10 @@ module.exports = {
}

try {

if (queue.repeatMode !== 0) queue.setRepeatMode(0);
const currnetSong = queue.current;

await queue.skip();
return await interaction.followUp({
embeds: [
Expand Down

0 comments on commit 320ed0d

Please sign in to comment.