$deleteIn
$deleteIn
will delete a message after a given time.
Usage
$deleteIn[time]
Parameters
Field | Type | Description | Required |
---|---|---|---|
time | string, number | After how much time the message will be deleted. | true |
Example(s)
This will delete the sent message after five seconds:
1client.command({2 name: "deleteIn",3 code: `4 $deleteIn[5s]5 I'll delete this message in 5 seconds!6 `7});