$deleteIn

Deletes the bot’s response after the provided duration.

Syntax

$deleteIn[Duration]

Parameters

  • Duration (Type: Duration || Flag: Required): The time to wait before deleting the message (e.g 3s, 30s, 1m, etc). Max duration is 40m (120m for premium bots).

Example

$nomention
Hello World!
$deleteIn[3s]

The message deletes itself after 3 seconds.

example