DM messages not being received properly

it dont work
130 Replies
d.js toolkit
d.js toolkit9mo 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!
probablyraging
probablyraging9mo ago
Which part?
Post the full error stack trace
Jereme
JeremeOP9mo ago
there is no error it just dont pop up
Kevinnnn
Kevinnnn9mo ago
what version of djs are you on? This is very outdated djs code..
Jereme
JeremeOP9mo ago
the latas one can you fix it or help me
Kevinnnn
Kevinnnn9mo ago
theres two latest versions, so please do tell me which one
- What's your exact discord.js npm list discord.js and node node -v version?
Jereme
JeremeOP9mo ago
it is not what is the lates one working i did node -v it did not come up
Kevinnnn
Kevinnnn9mo ago
14.14.1 is the latest for v14, and 13.17.1 is the latest for v13.
Jereme
JeremeOP9mo ago
im on 14
Kevinnnn
Kevinnnn9mo ago
do you have node installed?
Jereme
JeremeOP9mo ago
yes
Kevinnnn
Kevinnnn9mo ago
14 what? node or djs?
Jereme
JeremeOP9mo ago
"discord.js": "^14.11.0",
"node": ">=18.0.0"
"discord.js": "^14.11.0",
"node": ">=18.0.0"
that is the ones h
Kevinnnn
Kevinnnn9mo ago
huh? thats, not how you install node
Jereme
JeremeOP9mo ago
huh it is in it
Kevinnnn
Kevinnnn9mo ago
when you run node -v, what pops up in your console?
Jereme
JeremeOP9mo ago
im on paradisehost.xyz for my host ‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸
Kevinnnn
Kevinnnn9mo ago
huh?
Jereme
JeremeOP9mo ago
im on paradisehost.xyz for my host so it wont come up
Kevinnnn
Kevinnnn9mo ago
youre using a host that you cant type commands into? I'm confused..
Jereme
JeremeOP9mo ago
i can but this is what it do
Jereme
JeremeOP9mo ago
No description
Kevinnnn
Kevinnnn9mo ago
did you exit the program before running that? it looks like youre not in the terminal
Jereme
JeremeOP9mo ago
what idk were it is
Jereme
JeremeOP9mo ago
this is it
No description
Kevinnnn
Kevinnnn9mo ago
type exit first, you're still in the program trying to run commands
Jereme
JeremeOP9mo ago
No description
Kevinnnn
Kevinnnn9mo ago
uh ill just assume you have node installed judging by how something is running
Jereme
JeremeOP9mo ago
ok and idk what this is RROR: Node
"Local Node" encountered an error: AggregateError.: AggregateError
"Local Node" encountered an error: AggregateError.: AggregateError
Kevinnnn
Kevinnnn9mo ago
anyways, theres no message event in v14, it is called messageCreate
Jereme
JeremeOP9mo ago
is that why
Kevinnnn
Kevinnnn9mo ago
no idea what is causing the error, since the error isn't actually logged
Jereme
JeremeOP9mo ago
so what do i change messageCreate
Kevinnnn
Kevinnnn9mo ago
yeah, since message isn't an event
Jereme
JeremeOP9mo ago
message were
Kevinnnn
Kevinnnn9mo ago
your client.on(), in the first few lines
Jereme
JeremeOP9mo ago
i did it still no work are do i have to wait this is the thing $apply and it did not give a message
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
some what im still learning
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
um why it is not going to the dms or doing nun ont the messages
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
how do i change it
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
d.js docs
d.js docs9mo ago
:guide: Additional Information: Updating from v12 to v13 read more :guide: Additional Information: Updating from v13 to v14 read more
Jereme
JeremeOP9mo ago
it is just that code all my other cod is in v14
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
ok so i do it for just that code
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
in
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
it is some like this
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
hold it is uploding
d.js docs
d.js docs9mo ago
To share long code snippets, use a service like gist, sourcebin, starbin, or similar instead of posting them as large code blocks or files.
Jereme
JeremeOP9mo ago
this is what it is like
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
look that that is what it is like that what it is spost to do you do $apply and it will send the qa to you dms and you can do it from your dms
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
it is to do with this Jô 🌈🦄 — Today at 10:18 PM im just not sure you know what you're doing that is what im doing
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
then how you do it
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
i am
Jereme
JeremeOP9mo ago
um
No description
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
but im still learning how i do that
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
ok i think i got it here the new code https://srcb.in/IZIpf4LUvA i rest the token for my bo bot @Jô 🌈🦄
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
ok it dont work still
d.js docs
d.js docs9mo ago
To receive direct message events on "messageCreate" with your bot, you will need: - The DirectMessages gateway intent - The Channel partial setting
Jereme
JeremeOP9mo ago
huh
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
No description
Jereme
JeremeOP9mo ago
The Channel it has
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
ik it has it it has both @Jô 🌈🦄
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
ok
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
i dont have one but the bot has what it needs
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
a question the apply stilldont work but i re did everything to v14
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
yes
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
that i add it
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
yes it it is
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
no
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
ik thay the update code
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
this is the old one https://srcb.in/AsyqHmJmTA
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
i did not i thout i did hold on here https://srcb.in/83t7OUUacd
d.js docs
d.js docs9mo ago
Frequently Asked Questions: learn more
Jereme
JeremeOP9mo ago
wtf that is weird
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
yes it still no work
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
ok
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
huh
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
hold one
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
i did it did not work
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
nun it will not respond to the $appy $apply
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
im dumb sorry
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Jereme
JeremeOP9mo ago
hold one im still learning iv never seen that befor @Jô 🌈🦄 what is a Partials.Channel sorry
d.js docs
d.js docs9mo ago
:interface: Partials The enumeration for partials. ```js (more...)
Jereme
JeremeOP9mo ago
@Rayan were do i get it
Flake
Flake9mo ago
get what? import Partials and use it 🤷‍♂️ Partials.Channel
Jereme
JeremeOP9mo ago
@Rayanwere do i get the from
Flake
Flake9mo ago
^^^
Jereme
JeremeOP9mo ago
It is with channel
Want results from more Discord servers?
Add your server