remove watermark and see if it works

This commit is contained in:
Lukáš H 2020-06-06 10:22:10 +02:00
parent feab4749b3
commit 52197a939e
No known key found for this signature in database
GPG key ID: 52AED802C323B705

View file

@ -204,8 +204,16 @@ exports.play = async function (client, message, query, playNext, ignoreQueue) {
let link = exports.getLinkFromID(v.video.videoId); let link = exports.getLinkFromID(v.video.videoId);
console.log('[MUSIC DEBUG] got link: ' + (message.guild.id == '410990517841690625' ? link : 'not woomy server')); console.log('[MUSIC DEBUG] got link: ' + (message.guild.id == '410990517841690625' ? link : 'not woomy server'));
let y = null;
setTimeout(() => {
if(y == null) {
console.log('[MUSIC DEBUG] y is still null');
};
}, 5000);
console.log('[MUSIC DEBUG] await ytdl'); console.log('[MUSIC DEBUG] await ytdl');
let y = await ytdl(link, { highWaterMark: 1024 * 1024 * 32 }); y = await ytdl(link);
console.log('[MUSIC DEBUG] got ytdl'); console.log('[MUSIC DEBUG] got ytdl');
console.log('[MUSIC DEBUG] connection.play'); console.log('[MUSIC DEBUG] connection.play');