$deleteIn
Deletes the bot's message after a specified duration.
Usage: $deleteIn[time]
Argument:
time- The time to wait before deleting the message. This can be expressed in seconds (s), minutes (m), hours (h), or days (d). For example,10s,2m,1h,1d.
Example:
$deleteIn[10s] - This will delete the bot's message 10 seconds after it's sent.
Related Functions
- $deleteMessage: Deletes a specific message in the server or DMs.
- $deletecommand: Deletes the message that triggered the command.