def start
      setup
      if connect
        @sasl_remaining_methods = @bot.config.sasl.mechanisms.reverse
        send_cap_ls
        send_login

        reading_thread = start_reading_thread
        sending_thread = start_sending_thread
        ping_thread    = start_ping_thread

        reading_thread.join
        sending_thread.kill
        ping_thread.kill
      end
    end
def start
      setup
      if connect
        @sasl_remaining_methods = @bot.config.sasl.mechanisms.reverse
        send_cap_ls
        send_login

        reading_thread = start_reading_thread
        sending_thread = start_sending_thread
        ping_thread    = start_ping_thread

        reading_thread.join
        sending_thread.kill
        ping_thread.kill
      end
    end
Establish a connection.

 @return [void]
 @since 2.0.0