protected function handleVoiceStateUpdate($data)
    {
        if (isset($this->voiceClients[$data->d->guild_id])) {
            $this->logger->debug('voice state update received', ['guild' => $data->d->guild_id, 'data' => $data->d]);
            $this->voiceClients[$data->d->guild_id]->handleVoiceStateUpdate($data->d);
        }
    }
protected function handleVoiceStateUpdate($data)
    {
        if (isset($this->voiceClients[$data->d->guild_id])) {
            $this->logger->debug('voice state update received', ['guild' => $data->d->guild_id, 'data' => $data->d]);
            $this->voiceClients[$data->d->guild_id]->handleVoiceStateUpdate($data->d);
        }
    }
protected function handleVoiceStateUpdate ( $ data ) { if ( isset ( $ this -> voiceClients [ $ data -> d -> guild_id ] ) ) { $ this -> logger -> debug ( 'voice state update received' , [ 'guild' => $ data -> d -> guild_id , 'data' => $ data -> d ] ) ; $ this -> voiceClients [ $ data -> d -> guild_id ] -> handleVoiceStateUpdate ( $ data -> d ) ; } }
Handles `VOICE_STATE_UPDATE` packets.

@param object $data Packet data.
Handles VOICE_STATE_UPDATE packets .