private static void Main() { try { BotContainer.RunAsync().Wait(); } catch (Exception e) { Console.WriteLine($"Caught exception: {e}"); throw; } }
public static async Task RunAsync() { var startup = new BotContainer(); await startup.RunHelperAsync(); }