Best practices with awaitInteraction

I have a menu that opens upon running a command where the user can choose different actions. Would the best practice be to make the bot listen for interactions on the message or just register the buttons as their own interaction(s)? Or is there a thumb rule with "if you need the context of the command, use awaitInteraction?
3 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
chewie
chewie2y ago
in general using the collectors is the best way unless you need the buttons to be persistent over restarts
lupus
lupusOP2y ago
Mmh, alright, thank you.
Want results from more Discord servers?
Add your server