revert _update_state to use time.time

This commit is contained in:
Clxud 2023-03-10 00:25:36 +00:00
parent 4c3cd7e81a
commit 9f30e90da2
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ class Player(VoiceProtocol):
async def _update_state(self, data: dict):
state: dict = data.get("state")
self._last_update = int(state.get("time")) * 1000
self._last_update = time.time() * 1000
self._is_connected = state.get("connected")
self._last_position = state.get("position")