Custom Command
FunctionsMessage Functions

$deleteCommand

deletes the user's message that triggered the command

Usage

$deleteCommand[Time Delete After (optional, i.e 30s)]

Example (Delete User Message Immediately):

$deleteCommand

Example (Delete Message After Certain Time):

$deleteCommand[1m]

Related Functions

  • $deleteMessage: Delete any message within a server. This is more flexible as it lets you target specific messages.

Function difficulty: Easy

Tags: Delete Message Message Delete Delete Trigger

On this page