From bfcc3803b5630c92451dd11c6a530d246d9b4666 Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Sun, 12 Jul 2020 19:19:09 +0300 Subject: [PATCH] Update client.js --- src/struct/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/struct/client.js b/src/struct/client.js index b42d2432..93d9d51d 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()] || client.config.api_key); + this.youtube = new YouTube(config.api_keys[(this.shard.ids / 2).toFixed()] || this.config.api_key); this.config = config; this.funcs = {}; this.dispatcher = {};