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 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! - Marked as resolved by staff
Danial
Danial2y ago
Don't use ChatGPT, it has outdated information as far as discord.js goes
Quandale Dingle
Quandale DingleOP2y ago
But I don't know how to really code. That's why I asked. Can you like help me?
Danial
Danial2y ago
So you don't know JavaScript?
Quandale Dingle
Quandale DingleOP2y ago
No, I thought ChatGPT would help me out, but nope I don't know what I'm doing without that AI
Danial
Danial2y 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 DingleOP2y ago
Someone please help me make this bot, I don't have time to do javascript studying
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Quandale Dingle
Quandale DingleOP2y ago
Yea but the only problem is I'm broke
Unknown User
Unknown User2y 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
! br0kE2y 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
! br0kE2y 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
! br0kE2y 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
! br0kE2y ago
Then shit won't work because of Discord API updates
sicklinebro
sicklinebro2y 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
Danial2y 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

Did you find this page helpful?