Class VoiceChannelEffectSendEvent

All Implemented Interfaces:
GenericEvent

public class VoiceChannelEffectSendEvent extends GenericChannelEvent
Indicates that a voice channel effect was sent in a VoiceChannel.

Requirements
This event requires GatewayIntent.GUILD_VOICE_STATES to be enabled.

  • Constructor Details

    • VoiceChannelEffectSendEvent

      public VoiceChannelEffectSendEvent(@Nonnull JDA api, long responseNumber, VoiceChannelEffect effect)
  • Method Details

    • getVoiceChannel

      @Nonnull public VoiceChannel getVoiceChannel()
      The voice channel the effect was sent to.
      Returns:
      The voice channel the effect was sent to.
    • getEffect

      @Nonnull public VoiceChannelEffect getEffect()
      The effect that was sent.
      Returns:
      The effect that was sent.