diff --git a/src/commands/play.js b/src/commands/play.js index 12958827..23ba2d78 100644 --- a/src/commands/play.js +++ b/src/commands/play.js @@ -40,7 +40,6 @@ module.exports = { const playlistId = url.split("/playlist/")[1].split("?")[0]; client.spotify.getPlaylist(playlistId).then( async function (data) { - console.log(data.body) searchPlaylist(data, client, msg, voiceChannel); }, function (err) { diff --git a/src/struct/client.js b/src/struct/client.js index 93d9d51d..c746bb56 100644 --- a/src/struct/client.js +++ b/src/struct/client.js @@ -38,7 +38,7 @@ module.exports = class extends Client { id: config.spotify_client_id, secret: config.spotify_client_secret, }); - this.youtube = new YouTube(config.api_keys[(this.shard.ids / 2).toFixed()] || this.config.api_key); + this.youtube = new YouTube(config.api_keys[(this.shard.ids / 2).toFixed()] || config.api_key); this.config = config; this.funcs = {}; this.dispatcher = {};