1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-06-16 18:56:00 +00:00
This commit is contained in:
MatteZ02
2020-02-12 21:38:48 +02:00
parent 7737c12a95
commit 42203096d7
2 changed files with 4 additions and 2 deletions

View File

@ -12,6 +12,8 @@ module.exports = async function (client, reason, guild) {
if (serverQueue.looping) {
serverQueue.songs.push(serverQueue.songs[0]);
}
serverQueue.votes = 0;
serverQueue.voters = [];
serverQueue.songs.shift();
}
client.funcs.play(guild, serverQueue.songs[0], client, 0, true);