Closed n3oney closed 6 years ago
Getting the same problem :/
i got same problem
I apologize for the inconvenience, but I haven't been working on the module for issues regarding my health. I am aware of current errors that are causing the bot to crash and once I'm in better health I'll have them sorted out (I've said this in the Discord server previously as well).
Temp Fix:
1 open up the index.js file in project_folder\node_modules\discord.js-musicbot-addon
2 find the code snippet type : video
3 comment this line out so it looks like this
musicbot.searcher.search(searchstring // , {type: 'video'} )
this will disable video selection but the audio works at least
4 save and run
i am using glitch for that.
2018-07-03 2:42 GMT+07:00 etstringy notifications@github.com:
Temp Fix: 1 open up the index.js file in project_folder\node_modules\ discord.js-musicbot-addon 2 find the code snippet type : video 3 comment this line out so it looks like this musicbot.searcher.search(searchstring // , {type: 'video'} )
this will disable video selection but the audio works at least
4 save and run
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DarkoPendragon/discord.js-musicbot-addon/issues/50#issuecomment-401912414, or mute the thread https://github.com/notifications/unsubscribe-auth/AlZelQPIJ6v_mwbGsdEZjBDmuycLnz6hks5uCneygaJpZM4U1k5g .
UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'type' of undefined 2018-06-25T06:25:24.821018+00:00 app[worker.1]: at exports.determineType.type (/app/node_modules/ytsearcher/lib/deps/determineType.js:11:57)
Help