Help with bot
I'm trying to make a bot that when a user uses a specific command like "!dm", the bot dm them saying something positive. I got everything set up thanks to ChatGPT but the bot don't seem to dm me when I use the command. How do I fix
21 Replies
- 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!
- ✅
Marked as resolved by staffDon't use ChatGPT, it has outdated information as far as discord.js goes
But I don't know how to really code. That's why I asked. Can you like help me?
So you don't know JavaScript?
No, I thought ChatGPT would help me out, but nope I don't know what I'm doing without that AI
Then I suggest you learn JavaScript first, discord.js is a JavaScript library, you won't get anywhere without knowing JavaScript, there's lots of resources in the #resources channel, I recommend the Codecademy course
Someone please help me make this bot, I don't have time to do javascript studying
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
Yea but the only problem is I'm broke
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
Hey i can help you the code is really simple i'll send you the code later plz keep ur dm open
Why are you spoonfeeding code
Cuz he not a developer it's just a normal persone has no money to pay a developer and he doesn't have much time to learn just to write some lines so..
Let him learn
Then he'll actually learn JS
He just need a code and he won't need to use js again in his life
he updates discord.js and it has renames then he'll have to recode
If he doesn't updated everything's will be
Then shit won't work because of Discord API updates
I don't see how this conversation is even related to discord.js considering that the OP doesn't know JS and doesn't have the time to learn it.
yes this is what I was saying hours ago
If he doesn't touch anything he'll be fine
Let's please stop, it's in the #rules to know JavaScript, the OP was given the resources to learn JavaScript, this isn't discord.js-related anymore so I will be marking this post as resolved