When using <kazagumoPlayer>.search(), _kazagumoOptions.defaultThumbnail is returning undefined.
This is what is thrown:
TypeError: Cannot read properties of undefined (reading '_kazagumoOptions')
at kazagumoTrack.getThumbnail (.\node_modules\kazagumo\src\kazagumoTrack.js:134:124)
at new kazagumoTrack (.\node_modules\kazagumo\src\kazagumoTrack.js:50:14)
at .\node_modules\kazagumo\src\kazagumoSearch.js:59:44
at Array.map (<anonymous>)
at kazagumoSearch.search (.\node_modules\kazagumo\src\kazagumoSearch.js:59:35)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async kazagumoPlayer.search (.\node_modules\kazagumo\src\kazagumoPlayer.js:161:16)
at async CommandTest.exec (.\src\commands\core\test.js:64:24)
at async CommandHandler.runCommand (.\node_modules\discord-akairo\src\struct\commands\CommandHandler.js:767:21)
at async CommandHandler.handleDirectCommand (.\node_modules\discord-akairo\src\struct\commands\CommandHandler.js:439:20)
at async CommandHandler.handle (.\node_modules\discord-akairo\src\struct\commands\CommandHandler.js:379:23)
Removing the variable from the URL string allows the program to continue.
When using
<kazagumoPlayer>.search()
,_kazagumoOptions.defaultThumbnail
is returning undefined.This is what is thrown:
Removing the variable from the URL string allows the program to continue.
Node: 16.10.0 Kazagumo: 1.0.10