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 aMemberjoined or left aVoiceChannel. -
Class Summary Class Description GenericGuildVoiceEvent Indicates that aGuildvoice event is fired.GenericGuildVoiceUpdateEvent RequirementsGuildVoiceDeafenEvent Indicates that aMemberwas (un-)deafened.GuildVoiceGuildDeafenEvent Indicates that aMemberwas (un-)deafened by a moderator.GuildVoiceGuildMuteEvent Indicates that aMemberwas (un-)muted by a moderator.GuildVoiceJoinEvent Indicates that aMemberconnected to aVoiceChannel.GuildVoiceLeaveEvent Indicates that aMemberdisconnected from aVoiceChannel.GuildVoiceMoveEvent Indicates that aMembermoves betweenVoiceChannels.GuildVoiceMuteEvent Indicates that aMemberwas (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 aMemberstarted or ended a stream.GuildVoiceSuppressEvent Indicates that aMemberwas (un-)suppressed.GuildVoiceVideoEvent Indicates that aMemberturned on their camera.