deferUpdate with MessageComponentCollector

Am I the stupid? I'm trying to create a paginated embed. But if i'm using deferUpdate at the start of the collection and then update at the end it says that the message was already acknowledged. DiscordAPIError[40060]: Interaction has already been acknowledged.
5 Replies
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
duck
duck•2y ago
you would use editReply after deferring, even for update
Peace
Peace•2y ago
If im using editReply i get Error [InteractionNotReplied]: The reply to this interaction has not been sent or deferred.
duck
duck•2y ago
then you should handle your promises properly so they resolve in the correct order
Peace
Peace•2y ago
ohhhh, i see. thanks 😅
Want results from more Discord servers?
Add your server