client.on is not a function

How do I fix his
17 Replies
d.js toolkit
d.js toolkit2y 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
grass2y ago
show jointocreate.js please
supreme
supremeOP2y ago
supreme
supremeOP2y ago
@ggjropejgoerpjogpergjopermojgero
grass
grass2y 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
supremeOP2y ago
ehh you should see my files
supreme
supremeOP2y ago
grass
grass2y ago
I don’t really care about your file structure
supreme
supremeOP2y ago
the log command gives a error
grass
grass2y ago
show
supreme
supremeOP2y ago
grass
grass2y ago
I meant to log that to the console, also, that’s not even what I told you to log
supreme
supremeOP2y ago
oh wait
grass
grass2y ago
please log the value of client.constructor?.name
supreme
supremeOP2y ago
is this what you mean?
grass
grass2y ago
no. please take the time to learn basic js #resources #useful-servers
supreme
supremeOP2y 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