$deletecommand

Deletes the author's message.

Usage

$deletecommand[duration]

This function has one param.

ParamDescriptionTypeRequired

duration

How long to wait before deleting the author's message. *

Time

No

* Deletes the author's message instance if no duration is provided.

Example

bot.commands.add({
    type: "basicCommand",
    name: "example",
    code: `$deletecommand` //Deletes the author's message instantly
})

Last updated