@@ -523,7 +523,7 @@ about using interactions, [see here](/docs/reference/custom-interactions).
523
523
524
524
{{< /callout >}}
525
525
526
- #### Interaction Responses
526
+ ### Interaction Responses
527
527
528
528
- Only one interaction response may be sent to each interaction.
529
529
- If you do not send an interaction response, members will see "This application did not respond" on Discord.
@@ -599,7 +599,7 @@ The following example must be triggered by a component or modal submission.
599
599
600
600
Same as [ updateMessage] ( #updatemessage ) , plus it does not escape mentions.
601
601
602
- #### Interaction Followups
602
+ ### Interaction Followups
603
603
604
604
- Interaction followups may be sent up to 15 minutes after an interaction.
605
605
- To send a followup, you must have the interaction token of the interaction you are following up.
@@ -683,7 +683,7 @@ Same as [sendResponseNoEscape](#sendresponsenoescape), but also returns the mess
683
683
684
684
Same as [ sendResponse] ( #sendresponse ) , but also returns the message ID.
685
685
686
- #### Interaction Miscellaneous
686
+ ### Interaction Miscellaneous
687
687
688
688
#### cbutton
689
689
@@ -743,6 +743,21 @@ Creates a [modal object][modals] for use in interactions. See [`sendModal`](#sen
743
743
744
744
[ modals ] : https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object-modal
745
745
746
+ #### deleteInteractionResponse
747
+
748
+ ``` yag
749
+ {{ deleteInteractionResponse <interactionToken> <messageID> [delay] }}
750
+ ```
751
+
752
+ Deletes the specified response or follow-up message.
753
+
754
+ - ` interactionToken ` : a valid interaction token or ` nil ` for the triggering interaction.
755
+ - ` messageID ` : valid message ID of a follow-up, or ` nil ` for the original interaction response.
756
+ - ` delay ` : an optional delay in seconds, max 10 seconds. Default: 10 seconds.
757
+
758
+ If you require a delay of more than 10 seconds, consider using ` execCC ` for deletion of an ephemeral response, or
759
+ ` deleteMessage ` to delete a regular interaction response.
760
+
746
761
#### ephemeralResponse
747
762
748
763
``` yag
0 commit comments