예제 #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);
        }
예제 #2
0
 public BotMessageContext(BotCore core, IrcClient irc, PrivateMessage msg)
 {
     Core = core; IRC = irc; Msg = msg;
 }
예제 #3
0
 public BotCommandContext(BotCore core, IrcClient irc, IrcUser user)
 {
     Core = core; IRC = irc; User = user;
 }