private void handleServerVoiceChannel(JsonNode channel) {
        long serverId = channel.get("guild_id").asLong();
        api.getPossiblyUnreadyServerById(serverId).ifPresent(server -> {
            ServerVoiceChannel voiceChannel = ((ServerImpl) server).getOrCreateServerVoiceChannel(channel);
            ServerChannelCreateEvent event = new ServerChannelCreateEventImpl(voiceChannel);

            api.getEventDispatcher().dispatchServerChannelCreateEvent((DispatchQueueSelector) server, server, event);
        });
    }
private void handleServerVoiceChannel ( JsonNode channel ) { long serverId = channel . get ( "guild_id" ) . asLong ( ) ; api . getPossiblyUnreadyServerById ( serverId ) . ifPresent ( server -> { ServerVoiceChannel voiceChannel = ( ( ServerImpl ) server ) . getOrCreateServerVoiceChannel ( channel ) ; ServerChannelCreateEvent event = new ServerChannelCreateEventImpl ( voiceChannel ) ; api . getEventDispatcher ( ) . dispatchServerChannelCreateEvent ( ( DispatchQueueSelector ) server , server , event ) ; } ) ; }
Handles server voice channel creation.

@param channel The channel data.