1
0
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:
MatteZ02 2020-07-12 20:24:36 +03:00
parent 883844a172
commit 1ce6c40a9b

View File

@ -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!");
}