15 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.messageCreate, not MessageCreate
and its not once
its on
I'll try it now
not work(
because messageCreate is not an intent
literally just do what i said
chat gpt code ?
replace the client.once("MessageCreate …. par client.on("messageCreate ….
would suprise me since chatgpt doesnt know v14
yeah and it doesnt make mistakes like this
Sorry I'm so stupid, I did everything you said, but the bot doesn't respond(
place a console log in your messageCreate to see if it fires
I restarted visual Studio and ran the code again and the bot responded, thanks for the help. Can you tell me how to install the bot without restarting Visual Studio?
save your files then run node again
assuming you ctrl c'd the previous process
Okay, thanks again. I just started learning JavaScript, decided to start by creating a discord bot, so sorry for my stupid questions)
Might be worth checking out #resources as djs isnt quite beginner friendly
Thanks for the information, I'm going to study. good luck!