Пример #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();
 }