Skip to content

$deleteIn

$deleteIn will delete a message after a given time.

Usage

$deleteIn[time]

Parameters

FieldTypeDescriptionRequired
timestring, numberAfter how much time the message will be deleted.true

Example(s)

This will delete the sent message after five seconds:

1
client.command({
2
name: "deleteIn",
3
code: `
4
$deleteIn[5s]
5
I'll delete this message in 5 seconds!
6
`
7
});