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 GenericGuildEvent
getGuildMethods inherited from class Event
getJDA, getRawData, getResponseNumber, toString
-
Constructor Details
-
GenericGuildVoiceEvent
-
-
Method Details
-
getMember
-
getVoiceState
- Returns:
- The
GuildVoiceStateof the member
-