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