diff --git a/src/Discord/Voice/VoiceClient.php b/src/Discord/Voice/VoiceClient.php index adcc51535..ed1e1505b 100644 --- a/src/Discord/Voice/VoiceClient.php +++ b/src/Discord/Voice/VoiceClient.php @@ -553,7 +553,7 @@ public function handleWebSocketConnection(WebSocket $ws): void $sendHeartbeat = function () { $this->send([ 'op' => Op::VOICE_HEARTBEAT, - 'd' => microtime(true), + 'd' => (int) microtime(true), ]); $this->logger->debug('sending heartbeat'); $this->emit('ws-heartbeat', []);