Beispiel #1
0
 /// <summary>
 /// Initializes a new bot used to connect to servers
 /// </summary>
 /// <param name='config'>
 /// IRC configuration object
 /// </param>
 /// <param name='connect'>
 /// Whether to auto connect to the IRC server or not
 /// </param>
 public IRCBot(IRCConfig config, bool connect)
 {
     this.config = config;
     this.rawHandler = new RawHandler(this);
     this.connection = new Connection(config);
     if (connect)
         this.connect();
 }
 public Connection(IRCConfig config)
 {
     this.config = config;
 }