awaitMessageComponent 'Interaction has already been acknowledged' Error
I have the following piece of code alongside multiple buttons. The idea is that you can
I am hesitant to use a while loop, since this seems like an obvious infinite loop. A recursive function could cause some memory issues. What is a sensible approach to this task?
Is there a way to "await" a
- manipulate the embed with various buttons
- ... until you either confirm the selection or reject it.
- You should be able to press any button as many times as you want, up until you confirm or reject.
I am hesitant to use a while loop, since this seems like an obvious infinite loop. A recursive function could cause some memory issues. What is a sensible approach to this task?
Is there a way to "await" a
messageComponentCollector's response (either from "collect" or "end")?