Skip to content

Commit

Permalink
ensure volume persists on a resume
Browse files Browse the repository at this point in the history
  • Loading branch information
Drapersniper committed Mar 18, 2022
1 parent 71686ef commit 4cdcea7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lavalink/player_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ async def resume(
self._is_playing = False
self._paused = True
await self.node.play(self.guild.id, track, start=start, replace=replace, pause=True)
await self.set_volume(self.volume)
await self.pause(True)
await self.pause(pause, timed=1)

Expand Down

0 comments on commit 4cdcea7

Please sign in to comment.