// Public members public OurFoodChainBotCommandHandlingService( IOfcBotConfiguration configuration, IServiceProvider serviceProvider, IHelpService helpService, IResponsiveMessageService responsiveMessageService, DiscordSocketClient discordClient, global::Discord.Commands.CommandService commandService ) : base(configuration, serviceProvider, helpService, responsiveMessageService, discordClient, commandService) { botConfiguration = configuration; }
public CommandService( IBotConfiguration configuration, IServiceProvider serviceProvider, IHelpService helpService, IResponsiveMessageService responsiveMessageService, DiscordSocketClient discordClient, global::Discord.Commands.CommandService commandService ) { this.configuration = configuration; this.serviceProvider = serviceProvider; this.helpService = helpService; this.responsiveMessageService = responsiveMessageService; this.discordClient = discordClient; DiscordCommandService = commandService; this.discordClient.MessageReceived += OnMessageReceivedAsync; DiscordCommandService.CommandExecuted += OnCommandExecutedAsync; }