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
d.js toolkit
d.js toolkit14mo 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! - Marked as resolved by staff
Danial
Danial14mo ago
Don't use ChatGPT, it has outdated information as far as discord.js goes
Quandale Dingle
Quandale DingleOP14mo ago
But I don't know how to really code. That's why I asked. Can you like help me?
Danial
Danial14mo ago
So you don't know JavaScript?
Quandale Dingle
Quandale DingleOP14mo ago
No, I thought ChatGPT would help me out, but nope I don't know what I'm doing without that AI
Danial
Danial14mo ago
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
Quandale Dingle
Quandale DingleOP14mo ago
Someone please help me make this bot, I don't have time to do javascript studying
Unknown User
Unknown User14mo ago
Message Not Public
Sign In & Join Server To View
Quandale Dingle
Quandale DingleOP14mo ago
Yea but the only problem is I'm broke
Unknown User
Unknown User14mo 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
br0kE
br0kE14mo ago
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..
br0kE
br0kE14mo ago
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
br0kE
br0kE14mo ago
waitWhat he updates discord.js and it has renames then he'll have to recode
الشيخ كلا
If he doesn't updated everything's will be sdfsdf3
br0kE
br0kE14mo ago
Then shit won't work because of Discord API updates
sicklinebro
sicklinebro14mo ago
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
Danial
Danial14mo ago
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
Want results from more Discord servers?
Add your server