Update 3.3

This commit is contained in:
MatteZ02 committed 2020-04-29 14:41:16 +03:00
1 parent 07fd7df141
commit 1158d32910
10 files changed
+54 -11

No files matched your search

+5 -2
View File
@@ -13,7 +13,10 @@ module.exports = async function (client, reason, guild) {
queue.time = 0;
queue.votes = 0;
queue.voters = [];
queue.songs.shift();
if (reason !== "replay") {
if (reason === "previous") queue.songs.unshift(queue.prevSongs.pop())
if (reason !== "previous") queue.prevSongs.push(queue.songs.shift());
}
}
client.funcs.play(guild, queue.songs[0], client, 0, true);
};
};