Example #1
0
 public async void PingHandler(PingRequest ping, PalBot bot)
 {
     try
     {
         var sent = await bot.Write(templates.Ping());
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex);
     }
 }
Example #2
0
 public async void PingHandler(PingRequest ping, IPalBot bot)
 {
     var sent = await bot.Write(templates.Ping());
 }