Interface PardonEvent

All Superinterfaces:
space.arim.omnibus.events.AsyncEvent, space.arim.omnibus.events.Cancellable, space.arim.omnibus.events.Event

public interface PardonEvent extends space.arim.omnibus.events.Cancellable, space.arim.omnibus.events.AsyncEvent
Called when a staff member is revoking a punishment (/unban, /unmute, etc.)
Author:
A248
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the staff member responsible
    Gets the victim who would be pardoned
    Gets the type of the punishment the victim is being pardoned for

    Methods inherited from interface space.arim.omnibus.events.Cancellable

    cancel, isCancelled
  • Method Details

    • getOperator

      Operator getOperator()
      Gets the staff member responsible
      Returns:
      the operator revoking the punishment
    • getPardonedVictim

      Victim getPardonedVictim()
      Gets the victim who would be pardoned
      Returns:
      the victim
    • getPunishmentType

      PunishmentType getPunishmentType()
      Gets the type of the punishment the victim is being pardoned for
      Returns:
      the punishment type