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