Package net.dv8tion.jda.api.events.guild.voice
Events indicating the
Every update is an extensions of the
GuildVoiceState
updates
for one of the Guild
's Members
.
Every update is an extensions of the
GenericGuildVoiceEvent
and has specifications for explicit voice state features such as mute/deafen
Requirements
These events require the VOICE_STATE
CacheFlag to be enabled, which requires
the GUILD_VOICE_STATES
intent.
createLight(String)
disables that CacheFlag by default!
Additionally, these events require the MemberCachePolicy
to cache the updated members. Discord does not specifically tell us about the updates, but merely tells us the
member was updated and gives us the updated member object. In order to fire specific events like these we
need to have the old member cached to compare against.
-
Interface Summary Interface Description GuildVoiceUpdateEvent Indicates that aMember
joined or left aVoiceChannel
. -
Class Summary Class Description GenericGuildVoiceEvent Indicates that aGuild
voice event is fired.GenericGuildVoiceUpdateEvent RequirementsGuildVoiceDeafenEvent Indicates that aMember
was (un-)deafened.GuildVoiceGuildDeafenEvent Indicates that aMember
was (un-)deafened by a moderator.GuildVoiceGuildMuteEvent Indicates that aMember
was (un-)muted by a moderator.GuildVoiceJoinEvent Indicates that aMember
connected to aVoiceChannel
.GuildVoiceLeaveEvent Indicates that aMember
disconnected from aVoiceChannel
.GuildVoiceMoveEvent Indicates that aMember
moves betweenVoiceChannels
.GuildVoiceMuteEvent Indicates that aMember
was (un-)muted.GuildVoiceRequestToSpeakEvent Indicates that a guild member has updated theirRequest-to-Speak
.GuildVoiceSelfDeafenEvent Indicates that aMember
(un-)deafened itself.GuildVoiceSelfMuteEvent Indicates that aMember
(un-)muted itself.GuildVoiceStreamEvent Indicates that aMember
started or ended a stream.GuildVoiceSuppressEvent Indicates that aMember
was (un-)suppressed.GuildVoiceVideoEvent Indicates that aMember
turned on their camera.