Interface RoleChangePermissionsEvent
-
- All Superinterfaces:
Event,RoleEvent,ServerEvent
public interface RoleChangePermissionsEvent extends RoleEvent
A role change permissions event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PermissionsgetNewPermissions()Gets the new permissions of the role.PermissionsgetOldPermissions()Gets the old permissions of the role.-
Methods inherited from interface org.javacord.api.event.server.ServerEvent
getServer
-
-
-
-
Method Detail
-
getNewPermissions
Permissions getNewPermissions()
Gets the new permissions of the role.- Returns:
- The new permissions of the role.
-
getOldPermissions
Permissions getOldPermissions()
Gets the old permissions of the role.- Returns:
- The old permissions of the role.
-
-