diff --git a/wavelink/player.py b/wavelink/player.py index 3f0d1fd2..d1e6cadb 100644 --- a/wavelink/player.py +++ b/wavelink/player.py @@ -820,6 +820,7 @@ async def play( start: int The position to start playing the track at in milliseconds. Defaults to ``0`` which will start the track from the beginning. + If ``track`` has a non-zero :attr:`~wavelink.Playable.position`, that position will be used instead. end: Optional[int] The position to end the track at in milliseconds. Defaults to ``None`` which means this track will play until the very end. @@ -900,6 +901,9 @@ async def play( if filters: self._filters = filters + start = track.position or start + track._position = 0 + request: RequestPayload = { "track": {"encoded": track.encoded, "userData": dict(track.extras)}, "volume": vol,