Class VoiceChannelUpdatePermissionsEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.channel.voice.GenericVoiceChannelEvent
-
- net.dv8tion.jda.api.events.channel.voice.update.VoiceChannelUpdatePermissionsEvent
-
- All Implemented Interfaces:
GenericEvent
@Deprecated @ForRemoval(deadline="4.4.0") @DeprecatedSince("4.2.0") public class VoiceChannelUpdatePermissionsEvent extends GenericVoiceChannelEvent
Deprecated.This event is no longer feasible due to members not being cached by default. We replaced this event withGenericPermissionOverrideEvent
and derivatives.Indicates that aVoiceChannel
's permission overrides changed.Can be used to get affected VoiceChannel, affected Guild and affected
Roles
/Users
.
-
-
Constructor Summary
Constructors Constructor Description VoiceChannelUpdatePermissionsEvent(JDA api, long responseNumber, VoiceChannel channel, List<IPermissionHolder> changed)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<Member>
getChangedMembers()
Deprecated.List of affectedMembers
List<IPermissionHolder>
getChangedPermissionHolders()
Deprecated.The affectedIPermissionHolders
List<Role>
getChangedRoles()
Deprecated.List of affectedRoles
-
Methods inherited from class net.dv8tion.jda.api.events.channel.voice.GenericVoiceChannelEvent
getChannel, getGuild
-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-
-
-
Constructor Detail
-
VoiceChannelUpdatePermissionsEvent
public VoiceChannelUpdatePermissionsEvent(@Nonnull JDA api, long responseNumber, @Nonnull VoiceChannel channel, @Nonnull List<IPermissionHolder> changed)
Deprecated.
-
-
Method Detail
-
getChangedPermissionHolders
@Nonnull public List<IPermissionHolder> getChangedPermissionHolders()
Deprecated.The affectedIPermissionHolders
- Returns:
- The affected permission holders
- See Also:
getChangedRoles()
,getChangedMembers()
-
getChangedRoles
@Nonnull public List<Role> getChangedRoles()
Deprecated.List of affectedRoles
- Returns:
- List of affected roles
-
-