When y ran my code it says that client.on its not a function, someone can explain me how to solve it? thx
Your client variable is a Collection, when it should be a Client.
client
const client = new Discord.Client();
What does client.on is not a function means?
When y ran my code it says that client.on its not a function, someone can explain me how to solve it? thx
Your
client
variable is a Collection, when it should be a Client.