private void GetInfoForIrc()
 {
     if (File.Exists(Path))
     {
         using (var file = new StreamReader(Path))
         {
             var channel  = file.ReadLine();
             var nick     = file.ReadLine();
             var password = file.ReadLine();
             Irc = new Irc(channel, nick, password);
         }
     }
 }
Exemplo n.º 2
0
 public Bot(Irc irc)
 {
     Irc      = irc;
     Users    = new List <string>();
     Requests = new Queue <Request>();
 }