Package net.dv8tion.jda.api.events.guild.voice
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.
-
ClassDescriptionIndicates that a
Guild
voice event is fired.Indicates that aMember
was (un-)deafened.Indicates that aMember
was (un-)deafened by a moderator.Indicates that aMember
was (un-)muted by a moderator.Indicates that aMember
was (un-)muted.Indicates that a guild member has updated theirRequest-to-Speak
.Indicates that aMember
(un-)deafened itself.Indicates that aMember
(un-)muted itself.Indicates that aMember
started or ended a stream.Indicates that aMember
was (un-)suppressed.Indicates that aMember
joined or left anAudioChannel
.Indicates that aMember
turned on their camera.