Skip to content

duplicate messages with role mentions - second message gives HTTPError [AbortError]: The user aborted a request. #1030

Answered by the-vampiire
the-vampiire asked this question in Q&A
Discussion options

You must be logged in to vote

hey guys i figured this out. what happened was my message builder returned a promise (because inside it i was making some other reqs to populate data).

what i had was

return channel.send(await buildMessageX(...))

i moved it to be

const messageX = await buildMessageX(...);
return channel.send(messageX)

and the issue went away. sorry for all the commotion

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by the-vampiire
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #1026 on February 08, 2022 11:14.