summaryrefslogtreecommitdiff
path: root/src/irc/client.cpp
blob: a4a2e5cb164ed74c0374ef8d22d054e93f3d9d10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "client.hpp"

#include <string>

using namespace RedpilledBot::IRC;

Client::Client(std::string username, std::string password) {
  this->username = username;
  this->password = password;

  this->host = "wss://irc-ws.chat.twitch.tv";
  this->port = "443";

  this->websocket.setUrl(this->host + ":" + this->port);
}