Example #1
0
        public void Connect()
        {
            StripUsernameAndChannel();

            client            = new IRCClient(_ircHost, _ircPort, ToolkitSettings.Username, ToolkitSettings.OAuth, ToolkitSettings.Channel.ToLower());
            client.OnPrivMsg += OnPrivMsg;
            client.Connect();
        }
Example #2
0
        private void Connect()
        {
            StripUsernameAndChannel();

            Helper.Log("creating new connection");

            client            = new IRCClient(_ircHost, _ircPort, ToolkitSettings.Username, ToolkitSettings.OAuth, ToolkitSettings.Channel.ToLower());
            client.OnPrivMsg += OnPrivMsg;
            client.Connect();
        }