public override bool Remove(IConsoleBotConfig cfg, bool callStop) { var bot = GetBot(cfg)?.Bot; if (bot is PokeRoutineExecutorBase b && b.Config.InitialRoutine.IsTradeBot()) { Hub.Bots.Remove(b); } return(base.Remove(cfg, callStop)); }
void IPokeBotRunner.Remove(IConsoleBotConfig state, bool callStop) => Remove(state, callStop);