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