Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            var opts = ParseOptions(args);
            var bot  = new BotCore(opts);

            bot.RegisterModule <Cmd.Commands>();
            bot.RegisterModule <Cmd.Actions>();
            bot.ConnectAsync();
            Environment.Exit(0);
        }
Ejemplo n.º 2
0
 public BotMessageContext(BotCore core, IrcClient irc, PrivateMessage msg)
 {
     Core = core; IRC = irc; Msg = msg;
 }
Ejemplo n.º 3
0
 public BotCommandContext(BotCore core, IrcClient irc, IrcUser user)
 {
     Core = core; IRC = irc; User = user;
 }