$onMessageDelete
Triggered when a user deletes a message.
$onMessageDelete[channelID]
is a callback, which means it's used in the command trigger (not the code). The command is ran when a user deletes a message. You must replace 'channelID' with a valid channel ID or a server variable that holds the channelID ($getServerVar[]
).
Example
-
Make a new command, with the trigger
$onMessageDelete[channelID]
.🧙♂️ Replace 'channelID' with a valid channel ID!
-
Set the code/reply text.
-
Now, the bot will send a message when someone deletes a message! ✨