Class RoleUpdatePermissionsEvent

    • Constructor Detail

      • RoleUpdatePermissionsEvent

        public RoleUpdatePermissionsEvent​(@Nonnull
                                          JDA api,
                                          long responseNumber,
                                          @Nonnull
                                          Role role,
                                          long oldPermissionsRaw)
    • Method Detail

      • getOldPermissions

        @Nonnull
        public java.util.EnumSet<Permission> getOldPermissions()
        The old permissions
        Returns:
        The old permissions
      • getOldPermissionsRaw

        public long getOldPermissionsRaw()
        The old permissions
        Returns:
        The old permissions
      • getNewPermissions

        @Nonnull
        public java.util.EnumSet<Permission> getNewPermissions()
        The new permissions
        Returns:
        The new permissions
      • getNewPermissionsRaw

        public long getNewPermissionsRaw()
        The new permissions
        Returns:
        The new permissions