K
Kord4mo ago
Tic

Interaction: Valid action without modify interaction message

Hello When a user click on a button in a RowAction, I would like to do something in my program, with no modification to the interaction message. For the moment, I do: interaction.deferPublicMessageUpdate().edit { } with nothing in it. That works but I think that's not the clean solution What's the good practice to do that?
2 Replies
LustigerLurch
LustigerLurch4mo ago
if defer an interaction to a component, you don't nees to follow it up in any way, you can just remove the edit call
Tic
Tic4mo ago
Ok thanks!
Want results from more Discord servers?
Add your server