예제 #1
0
 public void StopBot(Bot bot)
 {
     RemoveBot(bot);
     bot.Dispose();
 }
예제 #2
0
 internal BotLock(bool isValid, Bot bot)
 {
     IsValid  = isValid;
     this.bot = bot;
 }
예제 #3
0
 public async Task StopBot(Bot bot)
 {
     RemoveBot(bot);
     await bot.Scheduler.InvokeAsync(async() => await bot.Stop());
 }