Sending attachment with message edit
Hi guys,
I need a hand i'm struggling af.
I took a 2-4 month old code, added webpack and update libs, what worked before is now crashing.
I have a message that i edit regulary.
Getting information to send in the message
Sending/Editing the message :
Retrieving the attachment
I'm using redux for state managment i don't think the problem is coming from there.
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!
- β
Marked as resolved by OPHere's the stack trace :
I guess it's coming from the attachment being resent, never had this problem months ago, and the attachment is sent correctly the first time...
Unknown Userβ’6mo ago
Message Not Public
Sign In & Join Server To View
Unknown Userβ’6mo ago
Message Not Public
Sign In & Join Server To View
AbortError: The user aborted a request.
A request took longer than the specified timeout (15 seconds default), and was aborted to not lock up the request handler.
- This can be caused by an internal server error on Discord's side, or just a slow connection.
- In case of a slow connection, the timeout
option in RESTOptions can be increased to prevent future AbortErrors.Unknown Userβ’6mo ago
Message Not Public
Sign In & Join Server To View
i'm updating.
You're so damn right ! i wasn't on the same pc neither and checking the production server it's already in 21.6.2
Unknown Userβ’6mo ago
Message Not Public
Sign In & Join Server To View
trying ahah
MAN.
Thanks a lot ! β€οΈ
Unknown Userβ’6mo ago
Message Not Public
Sign In & Join Server To View