public TwitchWhisperConnection(TwitchCredentials connectingUser, MainWindow window) { _mW = window; //delegateMessage = new MainWindow.delegateMessage(_mW.ResolveDispatchToUI); _connectedUser = connectingUser; // Connect and login into the whisper server ircClient = new BotIrcClient("199.9.253.119", 6667, connectingUser); // Request whispers ircClient.WriteLineThrottle("CAP REQ :twitch.tv/commands"); }
internal void SendWhisper(string whisperMessage) { ircClient.WriteLineThrottle("PRIVMSG #jtv :" + whisperMessage); }