From 0683f58605b282c736f1cff090d2ab9ca8c88c9f Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 1 May 2021 15:44:02 -0400 Subject: [PATCH] Fix --- commands/games-sp/guess-song.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/games-sp/guess-song.js b/commands/games-sp/guess-song.js index 027ab30f..dc8741a1 100644 --- a/commands/games-sp/guess-song.js +++ b/commands/games-sp/guess-song.js @@ -89,7 +89,7 @@ module.exports = class GuessSongCommand extends Command { async fetchCharts(playlist) { if (this.charts.has(playlist)) return this.charts.get(playlist); const { body } = await request - .get('https://spotifycharts.com/regional/us/daily/latest/download') + .get(`https://api.spotify.com/v1/playlists/${playlists[playlist]}/tracks`) .set({ Authorization: `Bearer ${this.token}` }) .query({ market: 'US',