def get_private_channel(user)
            @users.keys
                .map { |channel| @channels[channel] }
                .compact
                .find { |channel| channel.private }
            # the server doesn't send PMs you don't have access to
        end
def get_private_channel(user)
            @users.keys
                .map { |channel| @channels[channel] }
                .compact
                .find { |channel| channel.private }
            # the server doesn't send PMs you don't have access to
        end
Search for a private channel with user