Multipurpose-discord-bot
Multipurpose-discord-bot copied to clipboard
Cannot read properties of undefined (reading 'players')

i am getting this error when i hosted the bot in pterodactyl

it is already nodejs 16.

Client's manager might be undefined, it can mostly be ignored if you just started off with the bot. You can attempt making a manager as well. While I am not sure where manager is defined, you might need to find that to know how to prepare a workaround to avoid getting the error. Hope I was able to help shine some light on your path though not fully able to resolve it.
I had same issue when was experimented with code without lavalink. Check if lavalink is connecting and stay connected all time. At least "players" it players which playing music, so if lavalink not connected, it will not work