revbot.js
    Preparing search index...

    Class MessageDelete

    Represents the event handler for message deletions.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Handles the message deletion event.

      Parameters

      • data: { channel: string; id: string }

        The data for the event, containing the message ID and channel ID.

      Returns unknown

      An object containing the deleted message, or an empty object if the channel is not text-based or the message is not found.