kabirjaipal / JUGNU-MUSIC

Top-notch Music Bot with Buttons, premium Filters, sleek UI, dedicated bot channel support. Built on Distube.JS, Discord.JS, Express.js, and Josh wrapper for SQL and Mongoose
https://jugnu.netlify.app
MIT License
265 stars 367 forks source link

Geting this TypeError: Cannot read properties of undefined (reading 'OPUS') #71

Open BlackBox-cmd opened 3 weeks ago

BlackBox-cmd commented 3 weeks ago

/home/container/handlers/Client.js:63 streamType: StreamType.OPUS, // Use opus stream for better performance ^ TypeError: Cannot read properties of undefined (reading 'OPUS') at new JUGNU (/home/container/handlers/Client.js:63:30) at Object. (/home/container/index.js:5:16) at Module._compile (node:internal/modules/cjs/loader:1358:14) at Module._extensions..js (node:internal/modules/cjs/loader:1416:10) at Module.load (node:internal/modules/cjs/loader:1208:32) at Module._load (node:internal/modules/cjs/loader:1024:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12) at node:internal/main/run_main_module:28:49 Node.js v20.16.0

himitsu95 commented 3 weeks ago

Rule no 69: if code doesn't work remove the line where's the error 😆 remove the line "streamType: StreamType.OPUS," in handlers/Client.js line 63