client.on is not a function

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