static void Main(string[] args) { Logger.OnStartup(); Logger.Write("Loading LeagueBot..."); Configuration.LoadConfig(); PatternsManager.Initialize(); PixelCache.Initialize(); TextRecognition.Initialize(); try { LeagueManager.ApplySettings(); } catch { Logger.Write("Unable to set league of legends settings. (Probably due to permission restrictions.)", MessageState.WARNING); } HandleCommand(); Console.Read(); }