ZerioDev / Music-bot

A complete code to download for a cool Discord music bot !
https://discord.gg/5cGSYV8ZZj
GNU General Public License v3.0
869 stars 1.05k forks source link

statusCode: 'InvalidArgType' #217

Closed Lizan45 closed 1 year ago

Lizan45 commented 2 years ago

InvalidArgType: [InvalidArgType] Channel type must be GUILD_VOICE or GUILD_STAGE_VOICE, got voice! at new PlayerError (C:\Users\lisan\workspace\Roxanne\node_modules\discord-player\dist\Structures\PlayerError.js:28:15) at Queue. (C:\Users\lisan\workspace\Roxanne\node_modules\discord-player\dist\Structures\Queue.js:156:23)
at Generator.next () at C:\Users\lisan\workspace\Roxanne\node_modules\discord-player\dist\Structures\Queue.js:8:71 at new Promise () at __awaiter (C:\Users\lisan\workspace\Roxanne\node_modules\discord-player\dist\Structures\Queue.js:4:12) at Queue.connect (C:\Users\lisan\workspace\Roxanne\node_modules\discord-player\dist\Structures\Queue.js:151:16) at Object.run (C:\Users\lisan\workspace\Roxanne\commands\general\play.js:24:42) at processTicksAndRejections (node:internal/process/task_queues:96:5) { createdAt: 2021-12-07T02:37:14.620Z, statusCode: 'InvalidArgType' }

Lizan45 commented 2 years ago

This happen when i want reproduce something. And bot dosen't connect to a voice channel.

revot334 commented 1 year ago

should be fixed with v7