public ChatMessageHandler(
            Config.BotConfiguration botConfig,
            ICommunication communication,
            Notifications.ICheerHandler cheerHandler,
            IServiceScopeFactory scopeFactory)
        {
            this.botConfig = botConfig;

            this.communication = communication;
            this.cheerHandler  = cheerHandler;

            this.scopeFactory = scopeFactory;
        }
예제 #2
0
        public TestCommandSystem(
            Config.BotConfiguration botConfig,
            ICommunication communication,
            Notifications.ISubscriptionHandler subscriptionHandler,
            Notifications.IRaidHandler raidHandler,
            Notifications.ICheerHandler cheerHandler,
            Database.IUserHelper userHelper)
        {
            this.botConfig = botConfig;

            this.communication       = communication;
            this.subscriptionHandler = subscriptionHandler;
            this.raidHandler         = raidHandler;
            this.cheerHandler        = cheerHandler;

            this.userHelper = userHelper;
        }