示例#1
0
 /// <summary>
 /// Run the bot
 /// </summary>
 /// <param name="args">Arguments from the command line</param>
 /// <returns></returns>
 public static async Task RunAsync(string[] args)
 {
     var botStart = new BotStartup(args);
     await botStart.RunAsync();
 }
示例#2
0
 public static Task Main(string[] args)
 {
     return(BotStartup.RunAsync(args));
 }