Ask coding questions

← Back to all posts
What does client.on is not a function means?
BautistaRocha1

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

Voters
BautistaRocha1
Comments
hotnewtop
SixBeeps

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