Class VoiceChannelEffectSendEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.channel.GenericChannelEvent
net.dv8tion.jda.api.events.channel.VoiceChannelEffectSendEvent
- All Implemented Interfaces:
GenericEvent
Indicates that a
voice channel effect was sent in a VoiceChannel.
Requirements
This event requires GatewayIntent.GUILD_VOICE_STATES to be enabled.
-
Constructor Summary
ConstructorsConstructorDescriptionVoiceChannelEffectSendEvent(JDA api, long responseNumber, VoiceChannelEffect effect) -
Method Summary
Modifier and TypeMethodDescriptionThe effect that was sent.The voice channel the effect was sent to.Methods inherited from class GenericChannelEvent
getChannel, getChannelType, getGuild, isFromGuild, isFromTypeMethods inherited from class Event
getJDA, getRawData, getResponseNumber, toString
-
Constructor Details
-
VoiceChannelEffectSendEvent
public VoiceChannelEffectSendEvent(@Nonnull JDA api, long responseNumber, VoiceChannelEffect effect)
-
-
Method Details
-
getVoiceChannel
The voice channel the effect was sent to.- Returns:
- The voice channel the effect was sent to.
-
getEffect
The effect that was sent.- Returns:
- The effect that was sent.
-