$interactionEdit

Edits a previously sent interaction, typically one created using $interactionReply.

Usage: $interactionEdit[New Message;message id (optional, defaults to the original interaction reply)]


Important

This function only works within interaction-based triggers (e.g., slash commands, button clicks). Do not use it in exec or other trigger types.


Example
$interactionreply[Hello world!;yes]
$wait[2s]
$interactionedit[Bye World!]

This example first sends an interaction reply ("Hello world!"). After a 2-second delay, it edits that same message to "Bye World!".

Note

You can send embeds using the Message Curl Format. This allows for rich message formatting including titles, descriptions, fields, and more!

Function difficulty: Easy
Tags: interaction edit ephemeral reply edit

⏱️ Function Cooldown

This function has a built-in cooldown to help prevent excessive usage.

PropertyValue
⏱️ Duration500 ms
🆔 Tracked ByUser
🌐 ScopeInteraction

Functions with the same Scope share cooldowns based on the same Tracked By value.

💎 Tier 3+ servers bypass this cooldown. See Premium Perksopen in new window.