Message Deleted

Triggers when a message is deleted.

NOTE

Message content and Author ID are available if Message Cache is enabled in bot settings.

NOTE

This trigger is based on Discord event MessageDelete.

Inputs

There are no inputs for this trigger.

Outputs

Message ID

The ID of the deleted message.

Example: 123456789012345678

Channel ID

The ID of the channel that the message was deleted in.

Example: 123456789012345678

Server ID

The ID of the server that the message was deleted in.

Example: 123456789012345678

Previous Message Content

The Content of the message before it was deleted.

WARNING

You must have the message cache enabled for this value to be populated. Is blank if message is not found in message cache

Example: Hello! How are you?

Author ID

The ID of the user that sent the deleted message.

WARNING

You must have the message cache enabled for this value to be populated. Is blank if message is not found in message cache

Example: 123456789012345678

Message Cache Hit

Whether this message was found in the message cache.

Example: true