skick1234 / DisTube

A powerful Discord.js module for simplifying music commands and effortless playback of various sources with integrated audio filters.
https://distube.js.org
MIT License
422 stars 95 forks source link

Playing Error #272

Closed Itz-Hyperz closed 2 years ago

Itz-Hyperz commented 2 years ago

Please describe your problem in as much detail as possible:

Further information:

Itz-Hyperz commented 2 years ago

skick1234 commented 2 years ago

Please provide the full error trace stack. I cannot reproduce this

skick1234 commented 2 years ago

And make sure you are using the latest @distube/ytdl-core version (4.11.4).

Andrew-Zex commented 2 years ago

like that error

evalmachine.<anonymous>:24
c[72],c[6]),(0,c[85])(c[11]),(0,c[41])(c[39],c[28],(0,c[66])()),(0,c[78])(c[Math.pow(6,2)+122+-119],c[new Date("Wednesday December 31 1969 19:00:14 CDT")/1E3])}catch(d){(0<c[0]||(((0,c[80])(c[60],c[88]),c[80])(c[21],c[88]),0))&&(0,c[17])((0,c[70])(c[6]),c[78],c[88],c[12])}try{2<c[91]&&(1<c[53]?(0,c[17])((0,c[80])(c[82],c[6]),c[78],c[39],c[5]):((0,c[45])(c[49],c[88]),c[78])(c[88],c[86])),(0,c[17])((0,c[85])(c[31]),c[41],c[88],c[75],(0,c[35])())}catch(d){}};Wka(ncode);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
SyntaxError: Missing catch or finally after try
    at new Script (node:vm:100:7)
    at Object.exports.decipherFormats (/home/container/node_modules/@distube/ytdl-core/lib/sig.js:116:51)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Promise.all (index 0)
    at async exports.getInfo (/home/container/node_modules/@distube/ytdl-core/lib/info.js:326:17) {
  name: 'PlayingError'
}
Andrew-Zex commented 2 years ago

so that error only on linux system's on my windows machine my bot haven't that error

UPD: Bot running, but if i use command "play" bot get this error

skick1234 commented 2 years ago

Make sure you upgraded to @distube/ytdl-core@4.11.4 Duplicated #271

Andrew-Zex commented 2 years ago

i'll update it! but that's not wirking

ZyadAbdullatif commented 2 years ago

working for me