public SpotifyInteractiveModule( IConfiguration config, SynthbotRestClient synthbotWebClient, ILogger <SpotifyModule> logger, SpotifyWebAPI spotifyApi) { _config = config; _synthbotWebClient = synthbotWebClient; _logger = logger; _spotifyApi = spotifyApi; }
public CommandHandlingService(IServiceProvider provider, DiscordSocketClient discord, CommandService commands, SpotifyInfoService spotifyInfoService, SynthbotRestClient synthbotWebClient) { _discord = discord; _commands = commands; _provider = provider; _spotifyInfoService = spotifyInfoService; _synthbotWebClient = synthbotWebClient; _discord.UserVoiceStateUpdated += UserVoiceChannelEventHandlerAsync; _discord.MessageReceived += MessageReceived; }
public VoiceStatusChangedHandler( DiscordSocketClient discord, SynthbotRestClient synthbotRestClient, SpotifyInfoService spotifyInfoService, IConfiguration config) { _discord = discord; _synthbotRestClient = synthbotRestClient; _spotifyInfoService = spotifyInfoService; _config = config; _notificationsEnabled = config.GetValue <bool>("NotificationsEnabled"); }
public InfoModule(SynthbotRestClient client) { _client = client; }