public void Execute(IrcBot bot, BotCommand botCommand) { if (this.SendDataAction != null) { this.SendDataAction(bot, botCommand); } }
internal static void Main(string[] args) { MapInitializer.Initialize(); using (IrcBot bot = new IrcBot(IrcConfiguration.GetConfig())) { bot.OpenConnection(); bot.Start(); } }