Class MessageBulkDeleteEvent

  • All Implemented Interfaces:
    GenericEvent

    public class MessageBulkDeleteEvent
    extends Event
    Indicates that a bulk deletion is executed in a TextChannel.
    Set JDABuilder.setBulkDeleteSplittingEnabled(boolean) to false in order to enable this event.

    Can be used to detect that a large chunk of Messages is deleted in a TextChannel. Providing a list of Message IDs and the specific TextChannel.

    Requirements

    This event requires at least one of the following intents (Will not fire at all if neither is enabled):