mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 02:00:20 +00:00
fixed smth
This commit is contained in:
parent
bfcc3803b5
commit
883844a172
@ -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) {
|
||||
|
@ -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 = {};
|
||||
|
Loading…
Reference in New Issue
Block a user