$deleteIn
Deletes the command authors command in the provided time. Supports `milliseconds` up to `days`.

FUNCTION USAGE

  • $deleteIn[time]

Property:

time - When you want the command to be deleted. Time starts after the command is executed.
Example: Deletes the command 5 seconds after the command was executed.
1
bot.Command({
2
name: "test",
3
code: `
4
$deleteIn[5s]
5
bye... this will disappear in 5 seconds :'(
6
`
7
})
Copied!
Last modified 5mo ago
Copy link
Contents
Property: