$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

  1. Make a new command, with the trigger $onMessageDelete[channelID].

    🧙‍♂️ Replace 'channelID' with a valid channel ID!

    example1

  2. Set the code/reply text.
    example2

  3. Now, the bot will send a message when someone deletes a message! ✨
    example3