Message Deleted

Triggers when a message is deleted.

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

This trigger is based on Discord event MessageDelete.

Inputs

None.

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.

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.

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