Class GenericGuildVoiceEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.guild.GenericGuildEvent
net.dv8tion.jda.api.events.guild.voice.GenericGuildVoiceEvent
- All Implemented Interfaces:
GenericEvent
- Direct Known Subclasses:
GuildVoiceDeafenEvent
,GuildVoiceGuildDeafenEvent
,GuildVoiceGuildMuteEvent
,GuildVoiceMuteEvent
,GuildVoiceRequestToSpeakEvent
,GuildVoiceSelfDeafenEvent
,GuildVoiceSelfMuteEvent
,GuildVoiceStreamEvent
,GuildVoiceSuppressEvent
,GuildVoiceUpdateEvent
,GuildVoiceVideoEvent
Indicates that a
Every GuildVoiceEvent is an instance of this event and can be casted.
Guild
voice event is fired.
Every GuildVoiceEvent is an instance of this event and can be casted.
Can be used to detect any GuildVoiceEvent.
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!
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.dv8tion.jda.api.events.guild.GenericGuildEvent
getGuild
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumber, toString
-
Constructor Details
-
GenericGuildVoiceEvent
-
-
Method Details
-
getMember
The affectedMember
- Returns:
- The affected Member
-
getVoiceState
- Returns:
- The
GuildVoiceState
of the member
-