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 TypeMethodDescriptionGets the staff member responsibleGets the victim who would be pardonedGets the type of the punishment the victim is being pardoned forMethods 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
-
getPunishmentType
PunishmentType getPunishmentType()Gets the type of the punishment the victim is being pardoned for- Returns:
- the punishment type
-