1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-14 03:30:18 +00:00

Update search.js

This commit is contained in:
MatteZ02 2020-04-21 22:16:21 +03:00
parent 2a692edf8d
commit 77127775df

View File

@ -44,7 +44,7 @@ module.exports = {
return msg.channel.send(client.messages.cancellingVideoSelection); return msg.channel.send(client.messages.cancellingVideoSelection);
} }
const videoIndex = parseInt(response.first().content) - 1; const videoIndex = parseInt(response.first().content) - 1;
return client.funcs.handleVideo(videos[videoIndex], msg, voiceChannel, client, false); return client.funcs.handleVideo(videos[videoIndex], msg, voiceChannel, client, false, "ytdl");
}) })
} }
}; };