Esempio n. 1
0
 public ModerationCommands(
     ICommandContext context,
     ICommandConfirmationService commandConfirmationService,
     IDiscordRestChannelAPI channelApi,
     IModerationService moderationService,
     IUserService userService)
 {
     _context = context;
     _commandConfirmationService = commandConfirmationService;
     _channelApi        = channelApi;
     _moderationService = moderationService;
     _userService       = userService;
 }
 public MessageCheckCommands(
     ICommandContext context,
     ICommandConfirmationService commandConfirmationService,
     IMessageContentPatternService messageContentPatternService,
     IUserService userService,
     IDiscordRestChannelAPI channelApi,
     IDiscordRestGuildAPI guildApi)
 {
     _context = context;
     _commandConfirmationService   = commandConfirmationService;
     _messageContentPatternService = messageContentPatternService;
     _userService = userService;
     _channelApi  = channelApi;
     _guildApi    = guildApi;
 }