Class PermissionOverrideUpdateEvent

All Implemented Interfaces:
GenericEvent

public class PermissionOverrideUpdateEvent extends GenericPermissionOverrideEvent
Indicates that a PermissionOverride of a GuildChannel has been updated.

Can be used to retrieve the updated override and old allow and deny.

  • Constructor Details

  • Method Details

    • getOldAllowRaw

      public long getOldAllowRaw()
      The old allowed permissions as a raw bitmask.
      Returns:
      The old allowed permissions
    • getOldDenyRaw

      public long getOldDenyRaw()
      The old denied permissions as a raw bitmask.
      Returns:
      The old denied permissions
    • getOldInheritedRaw

      public long getOldInheritedRaw()
      The old inherited permissions as a raw bitmask.
      Returns:
      The old inherited permissions
    • getOldAllow

      @Nonnull public EnumSet<Permission> getOldAllow()
      The old allowed permissions
      Returns:
      The old allowed permissions
    • getOldDeny

      @Nonnull public EnumSet<Permission> getOldDeny()
      The old denied permissions
      Returns:
      The old denied permissions
    • getOldInherited

      @Nonnull public EnumSet<Permission> getOldInherited()
      The old inherited permissions
      Returns:
      The old inherited permissions