public CommandHandler(DiscordSocketClient client, CommandService commands, IConfigurationRoot config, IServiceProvider provider, IDataAccess data, LoggingService logger, BotActions actions, QuotesService quotes) { _client = client; _commands = commands; _config = config; _provider = provider; _data = data; _logger = logger; _actions = actions; _quotes = quotes; _client.MessageReceived += OnMessageReceivedAsync; _client.UserJoined += OnUserJoined; _client.ReactionAdded += OnReactionAdded; _client.ReactionRemoved += OnReactionRemoved; _client.UserVoiceStateUpdated += OnUserVoiceStateUpdated; _client.Connected += OnClientConnected; }
public PuzzleModule(IDataAccess data, BotActions actions, QuotesService quotes) { _data = data; _actions = actions; _quotes = quotes; }