1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-23 03:33:17 +00:00

Update client.js

This commit is contained in:
MatteZ02 2020-07-12 19:19:09 +03:00
parent 2686829e80
commit bfcc3803b5

View File

@ -38,7 +38,7 @@ module.exports = class extends Client {
id: config.spotify_client_id, id: config.spotify_client_id,
secret: config.spotify_client_secret, 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.config = config;
this.funcs = {}; this.funcs = {};
this.dispatcher = {}; this.dispatcher = {};