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

fixed smth

This commit is contained in:
MatteZ02 2020-07-12 19:22:29 +03:00
parent bfcc3803b5
commit 883844a172
2 changed files with 1 additions and 2 deletions

View File

@ -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) {

View File

@ -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 = {};