ZerioDev / Music-bot

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

Not playing songs #268

Closed Satyaki34 closed 11 months ago

Satyaki34 commented 1 year ago

I dont know what is this issue..but i insatll everything for this bot...i have latest ver of discord player but when i try to play any songs it giving me this error:

D:\Discord bot 03\commands\music\play.js:26
        const queue = await player.createQueue(inter.guild, {
                                   ^

TypeError: player.createQueue is not a function
    at Object.execute (D:\Discord bot 03\commands\music\play.js:26:36)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
ShambaC commented 1 year ago

The createQueue method changed with discord-player v6. It is now player.nodes.create() instead of player.createQueue Check out all the changes : https://discord-player.js.org/docs/guides/migrating

Alphaegen commented 1 year ago

I recommend changing to the beta branch because the main branch has multiple issues. #273