Why are my embeds not sent but Files are?
I'm using this payload in a raw
rest.post()
request and the files are being sent, but not the embeds. Why?
I have based the code on the original code from djs.
13 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!payload_json is not a valid property of the body? Where did yoiu get that from
discord docs
+ djs code
gimme a second
doubt
Yeah
huh, thats odd
Ive always just passed it directly as
body
like
ahh right
okay, lemme try it
I do
Wait what
:Thinkeng:
I give it a try
nope, still doesn't work
Because I don't have the channel and don#t want to fetch it
I'm using raw rest
Because it might not be cached
-# but that's not the point here
I wanted to use this, but I would still need the channel tho
I tried using it but the target needs to be set - I might not have it in the cache
uuuh
[x] doubt
I might just use the
interaction.user
and resolve the body there
it's not sent to the user but it might work since I just need the body
noted