/// <summary> /// Start the currently Active Bot /// </summary> public static void StartActiveBot() { if (WasCut) { return; } if (IsReadyToBot) { ActiveBot.StartBot(); } else { Logging.Write(Resources.BotIsNotReadyError); } }
/// <summary> /// Start the currently Active Bot /// </summary> public static void StartActiveBot() { try { if (ActiveBot != null && !ActiveBot.IsRunning) { Logger.Info("Starting bot..."); ActiveBot.StartBot(); } } catch (Exception ex) { Logger.Error("Exception thrown while trying to start the bot", ex); } }