mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 03:33:17 +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];
|
const playlistId = url.split("/playlist/")[1].split("?")[0];
|
||||||
client.spotify.getPlaylist(playlistId).then(
|
client.spotify.getPlaylist(playlistId).then(
|
||||||
async function (data) {
|
async function (data) {
|
||||||
console.log(data.body)
|
|
||||||
searchPlaylist(data, client, msg, voiceChannel);
|
searchPlaylist(data, client, msg, voiceChannel);
|
||||||
},
|
},
|
||||||
function (err) {
|
function (err) {
|
||||||
|
@ -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()] || this.config.api_key);
|
this.youtube = new YouTube(config.api_keys[(this.shard.ids / 2).toFixed()] || config.api_key);
|
||||||
this.config = config;
|
this.config = config;
|
||||||
this.funcs = {};
|
this.funcs = {};
|
||||||
this.dispatcher = {};
|
this.dispatcher = {};
|
||||||
|
Loading…
Reference in New Issue
Block a user