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