Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            var setupFilename = args.Length > 0 ? args[0] : "CSBot.xml";

            IrcClientSetup setup;

            using (var streamReader = new StreamReader(setupFilename))
                setup = IrcClientSetup.Deserialize(streamReader);

            var client = new IrcClient(setup);

            var moduleManager = new ModuleManager(client);

            moduleManager.LoadAllModules();

            client.Connect();
        }
Ejemplo n.º 2
0
		public IrcClient(IrcClientSetup setup)
		{
			Setup = setup;
		}
Ejemplo n.º 3
0
 public IrcClient(IrcClientSetup setup)
 {
     Setup = setup;
 }