public LaunchClickBotCommand(LaunchClickBotParams commandParams) { Params = commandParams; _clickBotInfo = ClickBotInfo.CreateDogecoinClickBotInfo(); _startTime = DateTime.Now; _currentChannel = GetCurrentChannel().Result; }
public void Add(LaunchClickBotParams clickBotParams) { var launchCommand = new LaunchClickBotCommand(clickBotParams); ClickBotWorkers.Add(new Worker(() => launchCommand.Execute().Wait(), clickBotParams.TokenSource)); }