public AutoRemoveMessageHandler( IMemoryCache cache, IAutoRemoveMessageService autoRemoveMessageService) { Cache = cache; AutoRemoveMessageService = autoRemoveMessageService; }
public IlModule( CodePasteService pasteService, IAutoRemoveMessageService autoRemoveMessageService, IHttpClientFactory httpClientFactory) { _pasteService = pasteService; _autoRemoveMessageService = autoRemoveMessageService; _httpClientFactory = httpClientFactory; }
public IlModule( CodePasteService pasteService, IAutoRemoveMessageService autoRemoveMessageService, IHttpClientFactory httpClientFactory, IOptions <ModixConfig> modixConfig) { _pasteService = pasteService; _autoRemoveMessageService = autoRemoveMessageService; _httpClientFactory = httpClientFactory; _ilUrl = string.IsNullOrWhiteSpace(modixConfig.Value.IlUrl) ? DefaultIlRemoteUrl : modixConfig.Value.IlUrl; }
public UserInfoCommandHandler(ModixContext modixContext, IDiscordClient discordClient, IAutoRemoveMessageService autoRemoveMessageService, IImageService imageService, ILogger <UserInfoCommandHandler> logger, IOptions <ModixConfig> modixOptions, IMessageRepository messageRepository) { _modixContext = modixContext; _discordClient = discordClient; _autoRemoveMessageService = autoRemoveMessageService; _imageService = imageService; _logger = logger; _messageRepository = messageRepository; _modixConfig = modixOptions.Value; }
public UserInfoModule( ILogger <UserInfoModule> logger, IUserService userService, IModerationService moderationService, IAuthorizationService authorizationService, IMessageRepository messageRepository, IEmojiRepository emojiRepository, IPromotionsService promotionsService, IImageService imageService, IOptions <ModixConfig> config, IAutoRemoveMessageService autoRemoveMessageService) { _log = logger ?? new NullLogger <UserInfoModule>(); _userService = userService; _moderationService = moderationService; _authorizationService = authorizationService; _messageRepository = messageRepository; _emojiRepository = emojiRepository; _promotionsService = promotionsService; _imageService = imageService; _config = config.Value; _autoRemoveMessageService = autoRemoveMessageService; }
public QuoteService(IAutoRemoveMessageService autoRemoveMessageService) { _autoRemoveMessageService = autoRemoveMessageService; }
public LinkModule(IAutoRemoveMessageService autoRemoveMessageService) { _autoRemoveMessageService = autoRemoveMessageService; }
public IsUpModule(IsUpService isUpService, IAutoRemoveMessageService autoRemoveMessageService) { _isUpService = isUpService; _autoRemoveMessageService = autoRemoveMessageService; }
public IsUpModule(IHttpClientFactory httpClientFactory, IAutoRemoveMessageService autoRemoveMessageService) { _httpClientFactory = httpClientFactory; _autoRemoveMessageService = autoRemoveMessageService; }
public IsUpCommandHandler(IHttpClientFactory httpClientFactory, IAutoRemoveMessageService autoRemoveMessageService) { _httpClientFactory = httpClientFactory; _autoRemoveMessageService = autoRemoveMessageService; }
public DocumentationModule(DocumentationService documentationService, IAutoRemoveMessageService autoRemoveMessageService) { DocumentationService = documentationService; _autoRemoveMessageService = autoRemoveMessageService; }