public LaunchClickBotCommand(LaunchClickBotParams commandParams)
 {
     Params          = commandParams;
     _clickBotInfo   = ClickBotInfo.CreateDogecoinClickBotInfo();
     _startTime      = DateTime.Now;
     _currentChannel = GetCurrentChannel().Result;
 }
Ejemplo n.º 2
0
        public void Add(LaunchClickBotParams clickBotParams)
        {
            var launchCommand = new LaunchClickBotCommand(clickBotParams);

            ClickBotWorkers.Add(new Worker(() => launchCommand.Execute().Wait(), clickBotParams.TokenSource));
        }