1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-07-07 01:20:48 +00:00

Chore update 3.10.0

This commit is contained in:
MatteZ02
2020-07-18 22:33:09 +03:00
parent 1ce6c40a9b
commit ef195e4377
14 changed files with 50 additions and 45 deletions

View File

@ -50,18 +50,12 @@ module.exports = {
client.spotify.searchTracks(`track:${videos[videoIndex].title}`)
.then(function (data) {
client.funcs.handleVideo(
videoResults[0].link,
msg,
voiceChannel,
client,
false,
"ytdl",
videos[videoIndex].link, msg, voiceChannel, client, false, "ytdl",
data.body.tracks.items[0]
);
}, function (err) {
console.log('Something went wrong!', err);
});
return client.funcs.handleVideo(videos[videoIndex].link, msg, voiceChannel, client, false, "ytdl");
})
}
};