コード例 #1
0
ファイル: TwitchClient.cs プロジェクト: Noele/Twitch-Chat-Bot
 public TwitchClient(string userName, string prefix, string oAuth, string channel)
 {
     Irc            = new Irc("irc.twitch.tv", 6667, userName, oAuth, channel);
     Options.prefix = prefix;
     _keepAlive     = new KeepAlive(Irc);
     _keepAlive.Start();
 }
コード例 #2
0
ファイル: KeepAlive.cs プロジェクト: Noele/Twitch-Chat-Bot
 public KeepAlive(Irc client)
 {
     _client = client;
     _thread = new Thread(Run);
 }