public MessageProcessor(IOptions <DiscordOptions> options, IDiscordClientManager clientManager, ICommandManager commandManager, IServerManager serverManager) { _clientManager = clientManager; _commandManager = commandManager; _serverManager = serverManager; _defaultPrefix = options.Value.DefaultPrefix ?? "?"; }
public DiscordListenerHostedService(IDiscordClientManager clientManager, IMessageProcessor messageProcessor) { _clientManager = clientManager; _messageProcessor = messageProcessor; }