Пример #1
0
 public ChatlistenerWorker(
     IChatlistenerService chatlistenerService,
     IDiscordMessageClient discordMessageClient,
     ICompositeChatClient compositeChatClient,
     IChatlogService chatlogService,
     ISuspensionLogService suspensionLogService,
     IChannelMonitoringService channelMonitoringService)
 {
     this.chatlistenerService      = chatlistenerService;
     this.discordMessageClient     = discordMessageClient;
     this.compositeChatClient      = compositeChatClient;
     this.chatlogService           = chatlogService;
     this.suspensionLogService     = suspensionLogService;
     this.channelMonitoringService = channelMonitoringService;
 }
 public ChannelCommandHandler(IChatlistenerService chatlistenerService, IUserRepository userRepository)
 {
     this.chatlistenerService = chatlistenerService;
     this.userRepository      = userRepository;
 }
Пример #3
0
 public CheckDataFeedCommandHandler(IChatlistenerService chatlistenerService, ILogger <CheckDataFeedCommandHandler> logger, IDiscordMessageClient discordMessageClient)
 {
     this.chatlistenerService = chatlistenerService;
     this.logger = logger;
     this.discordMessageClient = discordMessageClient;
 }