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(deadline="4.4.0") @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 withGenericPermissionOverrideEvent
and derivatives.Indicates that the permissions of aCategory
were 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 affectedMembers
List<IPermissionHolder>
getChangedPermissionHolders()
Deprecated.List of all affectedIPermissionHolders
List<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
-
-