DM messages not being received properly
it dont work
130 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!Which part?
Post the full error stack trace
there is no error it just dont pop up
what version of djs are you on?
This is very outdated djs code..
the latas one can you fix it or help me
theres two latest versions, so please do tell me which one
- What's your exact discord.jsnpm list discord.js
and nodenode -v
version?
it is not
what is the lates one
working i did node -v it did not come up
14.14.1
is the latest for v14, and 13.17.1
is the latest for v13.im on 14
do you have node installed?
yes
14 what? node or djs?
that is the ones
h
huh?
thats, not how you install node
huh
it is in it
when you run
node -v
, what pops up in your console?im on paradisehost.xyz for my host
‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸‸
huh?
im on paradisehost.xyz for my host so it wont come up
youre using a host that you cant type commands into? I'm confused..
i can but this is what it do
did you exit the program before running that? it looks like youre not in the terminal
what idk were it is
this is it
type
exit
first, you're still in the program trying to run commandsuh
ill just assume you have node installed judging by how something is running
ok
and idk what this is RROR: Node
anyways, theres no
message
event in v14, it is called messageCreate
is that why
no idea what is causing the error, since the error isn't actually logged
so what do i change messageCreate
yeah, since
message
isn't an eventmessage were
your
client.on()
, in the first few linesi 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•9mo ago
Message Not Public
Sign In & Join Server To View
some what im still learning
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
um why it is not going to the dms or doing nun ont the messages
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
how do i change it
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
it is just that code
all my other cod is in v14
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
ok so i do it for just that code
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
in
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
it is some like this
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
hold it is uploding
this is what it is like
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
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•9mo ago
Message Not Public
Sign In & Join Server To View
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•9mo ago
Message Not Public
Sign In & Join Server To View
then how you do it
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
i am
um
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
but im still learning how i do that
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
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•9mo ago
Message Not Public
Sign In & Join Server To View
ok
it dont work still
To receive direct message events on
"messageCreate"
with your bot, you will need:
- The DirectMessages
gateway intent
- The Channel
partial settinghuh
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
The Channel it has
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
ik it has it it has both
@Jô 🌈🦄
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
ok
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
i dont have one but the bot has what it needs
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
a question
the apply stilldont work but i re did everything to v14
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
yes
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
that i add it
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
https://srcb.in/IZIpf4LUvA
it is there
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
yes it it
is
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
no
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
ik thay the update code
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
this is the old one https://srcb.in/AsyqHmJmTA
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
i did not
i thout i did hold on
here https://srcb.in/83t7OUUacd
wtf
that is weird
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
yes it still no work
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
my updated code https://srcb.in/83t7OUUacd
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
ok
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
huh
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
hold one
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
i did it did not work
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
nun it will not respond to the $appy
$apply
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
im dumb sorry
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
hold one
im still learning iv never seen that befor
@Jô 🌈🦄 what is a Partials.Channel
sorry
@Rayan were do i get it
get what?
import Partials and use it 🤷♂️
Partials.Channel
@Rayanwere do i get the from
^^^
It is with channel