K
Kord9mo 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
LustigerLurch9mo 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
TicOP9mo ago
Ok thanks!

Did you find this page helpful?