client.on is not a function

How do I fix his
17 Replies
d.js toolkit
d.js toolkit•3y ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
grass
grass•3y ago
show jointocreate.js please
supreme
supremeOP•3y ago
supreme
supremeOP•3y ago
@ggjropejgoerpjogpergjopermojgero
grass
grass•3y ago
please don’t ping me for support moments after sending it log client.constructor?.name I also need to suggest, try tidying up your code a bit
supreme
supremeOP•3y ago
ehh you should see my files
supreme
supremeOP•3y ago
grass
grass•3y ago
I don’t really care about your file structure
supreme
supremeOP•3y ago
the log command gives a error
grass
grass•3y ago
show
supreme
supremeOP•3y ago
grass
grass•3y ago
I meant to log that to the console, also, that’s not even what I told you to log
supreme
supremeOP•3y ago
oh wait
grass
grass•3y ago
please log the value of client.constructor?.name
supreme
supremeOP•3y ago
is this what you mean?
grass
grass•3y ago
no. please take the time to learn basic js #resources #useful-servers
supreme
supremeOP•3y ago
My fault im kinda new to js well not new but like still learning new things

Did you find this page helpful?