Skip to content
What does client.on is not a function means?
Profile icon
BautistaRocha1

When y ran my code it says that client.on its not a function, someone can explain me how to solve it? thx

You are viewing a single comment. View All
Profile icon
SixBeeps

Your client variable is a Collection, when it should be a Client.

const client = new Discord.Client();