Class CategoryUpdatePermissionsEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.channel.category.GenericCategoryEvent
-
- net.dv8tion.jda.api.events.channel.category.update.CategoryUpdatePermissionsEvent
-
- All Implemented Interfaces:
GenericEvent
@Deprecated @ForRemoval @DeprecatedSince("4.2.0") public class CategoryUpdatePermissionsEvent extends GenericCategoryEvent
Deprecated.This event is no longer feasible due to members not being cached by default. We replaced this event withGenericPermissionOverrideEventand derivatives.Indicates that the permissions of aCategorywere updated.Can be used to retrieve the changed permissions
-
-
Constructor Summary
Constructors Constructor Description CategoryUpdatePermissionsEvent(JDA api, long responseNumber, Category category, List<IPermissionHolder> changed)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<Member>getChangedMembers()Deprecated.Filtered list of affectedMembersList<IPermissionHolder>getChangedPermissionHolders()Deprecated.List of all affectedIPermissionHoldersList<Role>getChangedRoles()Deprecated.Filtered list of affectedRoles-
Methods inherited from class net.dv8tion.jda.api.events.channel.category.GenericCategoryEvent
getCategory, getGuild, getId, getIdLong
-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-
-
-
Method Detail
-
getChangedPermissionHolders
@Nonnull public List<IPermissionHolder> getChangedPermissionHolders()
Deprecated.List of all affectedIPermissionHolders- Returns:
- Immutable list of permission holders affected by this event
-
getChangedRoles
@Nonnull public List<Role> getChangedRoles()
Deprecated.Filtered list of affectedRoles- Returns:
- Immutable list of affected roles
-
-