client.on is not a function

How do I fix his
17 Replies
d.js toolkit
d.js toolkit•15mo 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•15mo ago
show jointocreate.js please
supreme
supreme•15mo ago
supreme
supreme•15mo ago
@ggjropejgoerpjogpergjopermojgero
grass
grass•15mo 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
supreme•15mo ago
ehh you should see my files
supreme
supreme•15mo ago
grass
grass•15mo ago
I don’t really care about your file structure
supreme
supreme•15mo ago
the log command gives a error
grass
grass•15mo ago
show
supreme
supreme•15mo ago
grass
grass•15mo ago
I meant to log that to the console, also, that’s not even what I told you to log
supreme
supreme•15mo ago
oh wait
grass
grass•15mo ago
please log the value of client.constructor?.name
supreme
supreme•15mo ago
is this what you mean?
grass
grass•15mo ago
no. please take the time to learn basic js #resources #useful-servers
supreme
supreme•15mo ago
My fault im kinda new to js well not new but like still learning new things
Want results from more Discord servers?
Add your server