public RingoBotCommands( IAuthService authService, IRingoService ringoService, ISpotifyService spotifyService, ILogger <RingoBotCommands> logger) { _authService = authService; _ringoService = ringoService; _spotifyService = spotifyService; _logger = logger; }
public RingoBot3( ILogger <RingoBot3> logger, ISpotifyService spotifyService, IRingoService ringoService, RingoBotAccessors accessors, IConfiguration configuration, IRingoBotCommands ringoBotCommands) { _logger = logger; _ringoService = ringoService; _spotifyService = spotifyService; _stateAccessors = accessors ?? throw new ArgumentNullException(nameof(accessors)); _contentRoot = configuration.GetValue <string>(WebHostDefaults.ContentRootKey); _commands = ringoBotCommands; }