mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Revert voiceplayer change
This commit is contained in:
parent
cdfd6c3e49
commit
e75e1cf5bb
3 changed files with 2 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "royalnet"
|
name = "royalnet"
|
||||||
version = "5.4"
|
version = "5.4.1"
|
||||||
description = "A multipurpose bot and web framework"
|
description = "A multipurpose bot and web framework"
|
||||||
authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"]
|
authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"]
|
||||||
license = "AGPL-3.0+"
|
license = "AGPL-3.0+"
|
||||||
|
|
|
@ -87,7 +87,6 @@ class VoicePlayer:
|
||||||
raise PlayerNotConnectedError()
|
raise PlayerNotConnectedError()
|
||||||
if self.voice_client.is_playing():
|
if self.voice_client.is_playing():
|
||||||
raise PlayerAlreadyPlaying()
|
raise PlayerAlreadyPlaying()
|
||||||
self.playing = None
|
|
||||||
log.debug("Getting next AudioSource...")
|
log.debug("Getting next AudioSource...")
|
||||||
next_source: Optional["discord.AudioSource"] = await self.playing.next()
|
next_source: Optional["discord.AudioSource"] = await self.playing.next()
|
||||||
if next_source is None:
|
if next_source is None:
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
semantic = "5.4"
|
semantic = "5.4.1"
|
||||||
|
|
Loading…
Reference in a new issue