private readonly int _refreshInterval = 1000; //the milliseconds the bot waits before checking for new messages public BotMain(IList <IChatClient> chatClients, IRepository repository, IFollowableSystem followableSystem, IAutomatedActionSystem automatedActionSystem, ICommandHandler commandHandler, SubscriberHandler subscriberHandler, IAutomatedActionSystem autoActionSystem) { _chatClients = chatClients; _repository = repository; _followableSystem = followableSystem; _automatedActionSystem = automatedActionSystem; _commandHandler = commandHandler; _subscriberHandler = subscriberHandler; _autoActionSystem = autoActionSystem; }