From 1ce6c40a9bdd48118c1172369b0ff3986614d7f3 Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Sun, 12 Jul 2020 20:24:36 +0300 Subject: [PATCH] Update getSpotifyKey.js --- src/struct/funcs/getSpotifyKey.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/struct/funcs/getSpotifyKey.js b/src/struct/funcs/getSpotifyKey.js index 9e17f4bf..cdbd51b9 100644 --- a/src/struct/funcs/getSpotifyKey.js +++ b/src/struct/funcs/getSpotifyKey.js @@ -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!"); }