예제 #1
0
 static async Task Run()
 {
     var guidBot = new GuidBot();
     guidBot.MessageReceived+= (sender, args) => System.Console.WriteLine("{0} : {1}",args.UserName, args.Text);
     await guidBot.Start();
 }
 private async Task RunBot()
 {
     var guidBot = new GuidBot();
     await guidBot.Start();
 }