Exemplo n.º 1
0
        public DataSyncProcessor(IWebhookService webhookService, ILoggingService loggingService, IBladeAndSoulService bladeAndSoulService, IPowerService powerService)
        {
            _webhookService      = webhookService;
            _loggingService      = loggingService;
            _bladeAndSoulService = bladeAndSoulService;
            _powerService        = powerService;

            _lock = new SemaphoreSlim(1);
        }
Exemplo n.º 2
0
 public MessageCreateProcessor(
     IMessageService messageService,
     IUserService userService,
     PlogDbContext plogDbContext,
     IBladeAndSoulService bladeAndSoulService,
     ILoggingService loggingService,
     IClanLogService clanLogService,
     IRaffleService raffleService,
     IAlertService alertService,
     ITimeZoneService timeZoneService,
     IPowerService powerService,
     IGuildService guildService
     )
 {
     _plogDbContext           = plogDbContext;
     _messageService          = messageService;
     _userService             = userService;
     _bladeAndSoulService     = bladeAndSoulService;
     _loggingService          = loggingService;
     _clanLogService          = clanLogService;
     _raffleService           = raffleService;
     _alertService            = alertService;
     _timeZoneService         = timeZoneService;
     _powerService            = powerService;
     _guildService            = guildService;
     _allowedTopLevelCommands = new List <string> {
         "test", "add", "me", "alt", "release", "characters", "whales", "clanlog", "raffle", "ticket", "alert", "mytime"
     };
     _adminCommands = new List <string> {
         "reset"
     };
     _bannedKashPhrases = new List <string> {
         "no", "nope", "nah", "nada", "n0", "n0pe"
     };
     _response = "There was an error processing this request.";
 }