From 6424d7037101eb4af6adc2234df750b434347ab1 Mon Sep 17 00:00:00 2001 From: VlaDexa <52157081+VlaDexa@users.noreply.github.com> Date: Tue, 11 Jan 2022 18:17:12 +0300 Subject: [PATCH] (fix): Fixing a typo in Spotify Examples --- examples/Spotify/play.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Spotify/play.js b/examples/Spotify/play.js index 4634763..9af001b 100644 --- a/examples/Spotify/play.js +++ b/examples/Spotify/play.js @@ -15,7 +15,7 @@ client.on('messageCreate', async message => { adapterCreator: message.guild.voiceAdapterCreator }) if(play.is_expired()){ - await play.RefreshToken() // This will check if access token has expired or not. If yes, then refresh the token. + await play.refreshToken() // This will check if access token has expired or not. If yes, then refresh the token. } let args = message.content.split('play ')[1].split(' ')[0] let sp_data = await play.spotify(args) // This will get spotify data from the url [ I used track url, make sure to make a logic for playlist, album ]