We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57d966d commit b68c9baCopy full SHA for b68c9ba
1 file changed
src/services/music/playerHandler.js
@@ -117,6 +117,12 @@ export function setupPlayerHandler(client) {
117
client.riffy.on('queueEnd', async (player) => {
118
try {
119
const guildData = getGuildMusicData(player.guildId);
120
+
121
+ // If loop is active, Riffy handles replaying — don't clean up or disconnect
122
+ if (guildData.loop && guildData.loop !== 'none') {
123
+ return;
124
+ }
125
126
clearUpdateInterval(guildData);
127
128
if (guildData.autoplay) {
0 commit comments