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