Answering too slow, but not sure why (10062) #2353
Unanswered
SvenWollinger
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I have buttons for a small game that work fine 90% of the time.

Once every few clicks however i dont get an answer from my bot, with an error "10062: Unknown Exception".
Ive gathered that im not replying fast enough, however im really not sure why.
This is my event function:
(It simply replies a . which it then deletes, since i use these buttons for events that dont need an actual text answer).
The stacktrace i receive:
I tried answering the event via .complete, just in case that queue isnt fast enough for some reason.
I also tried to first deferReply via complete, which still didnt work by then using the hook to edit the original message.
Is this a problem with me deleting the message again?
Thankfull for some insight
Edit: The full code in question, sorry
Beta Was this translation helpful? Give feedback.
All reactions