mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-22 18:03:17 +00:00
Update getSpotifyKey.js
This commit is contained in:
parent
883844a172
commit
1ce6c40a9b
@ -20,7 +20,7 @@ module.exports = async function (client) {
|
||||
if (!error && response.statusCode === 200) {
|
||||
client.spotify.setAccessToken(body.access_token);
|
||||
client.config.spotify_access_key = body.access_token
|
||||
console.log("- Spotify access token set -");
|
||||
if (client.config.devMode) console.log("- Spotify access token set -");
|
||||
} else {
|
||||
console.log("An error occured!");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user