Fix: break out of infinite loop
This commit is contained in:
parent
3e70e7c3b7
commit
edfc281d6c
|
@ -463,6 +463,7 @@ class Music(Cog):
|
||||||
except:
|
except:
|
||||||
logger.warning(f"opus could not be loaded from {path} -- trying next?")
|
logger.warning(f"opus could not be loaded from {path} -- trying next?")
|
||||||
logger.error("opus could not be loaded!")
|
logger.error("opus could not be loaded!")
|
||||||
|
break
|
||||||
ctx.voice_client.play(
|
ctx.voice_client.play(
|
||||||
player,
|
player,
|
||||||
after=lambda e: self.after(ctx)
|
after=lambda e: self.after(ctx)
|
||||||
|
|
Loading…
Reference in a new issue