Skip to content

error with command .delete () #895

Answered by almostSouji
agus1588 asked this question in Q&A
Discussion options

You must be logged in to vote

I think we need some more details here. So you put an emoji on a message, and if people click it, you delete it?
Now, where does the error come in here? And what is the error? If it's caused by two people clicking on the same reaction at roughly the same time, both guard it with message.deleted and catch the error (if they do it close to each other there isn't really a way to guarantee this won't put both API requests through, of which one will error, because it is already fulfilled)

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@almostSouji
Comment options

Answer selected by almostSouji
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #894 on October 02, 2021 06:52.