diff options
| author | ilotterytea <iltsu@alright.party> | 2024-04-20 23:10:40 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-04-20 23:10:40 +0500 |
| commit | f80792c6e0e0ef167132ccec65105bb6a422031f (patch) | |
| tree | f9284116bafae41329cb444bf0339aab06917156 /src/irc/client.cpp | |
| parent | e4cbe022bd03d3675f4d8a1986bf75c5bc313094 (diff) | |
upd: set the url for websocket
Diffstat (limited to 'src/irc/client.cpp')
| -rw-r--r-- | src/irc/client.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/irc/client.cpp b/src/irc/client.cpp index ed9552e..a4a2e5c 100644 --- a/src/irc/client.cpp +++ b/src/irc/client.cpp @@ -7,4 +7,9 @@ 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); } |
