Multipurpose-discord-bot icon indicating copy to clipboard operation
Multipurpose-discord-bot copied to clipboard

Cannot read properties of undefined (reading 'players')

Open ewn69 opened this issue 3 years ago • 2 comments

image

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

image

it is already nodejs 16.

image

ewn69 avatar Apr 28 '22 12:04 ewn69

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.

malbouy avatar Apr 28 '22 13:04 malbouy

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

Rocky-pup avatar May 11 '22 04:05 Rocky-pup