This commit is contained in:
ionburger 2023-03-11 19:21:39 -07:00
parent 48fd364309
commit 5b1a81faeb

View File

@ -18,7 +18,7 @@ class Voice(commands.Cog):
@commands.Cog.listener()
async def on_wavelink_track_end(self, player, track, reason):
print("track ended")
if not self.queue.is_empty:
if not self.queue.is_empty and reason == 'FINISHED':
await player.play(self.queue.get())
@bridge.bridge_command(alises=["j"])