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.
-
ClassesClassDescriptionIndicates that a
Guildvoice event is fired.Indicates that aMemberwas (un-)deafened.Indicates that aMemberwas (un-)deafened by a moderator.Indicates that aMemberwas (un-)muted by a moderator.Indicates that aMemberwas (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 aMemberstarted or ended a stream.Indicates that aMemberwas (un-)suppressed.Indicates that aMemberjoined or left anAudioChannel.Indicates that aMemberturned on their camera.