Пример #1
0
 public MessageHandlerService(IServiceProvider serviceProvider, CommandService commandService, IAutoResponseService autoResponseService, IAutoReactService autoReactService, DiscordSocketClient client)
 {
     this.serviceProvider     = serviceProvider;
     this.client              = client;
     this.commandService      = commandService;
     this.autoResponseService = autoResponseService;
     this.autoReactService    = autoReactService;
 }
Пример #2
0
        // TODO: add any appropriate validations?

        public AutoResponseController(IAutoResponseService service)
        {
            this.service = service;
        }