Beispiel #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;
 }
Beispiel #2
0
        // TODO: add any appropriate validations?

        public AutoReactController(IAutoReactService service)
        {
            this.service = service;
        }