Class GuildVoiceJoinEvent
- java.lang.Object
-
- net.dv8tion.jda.core.events.Event
-
- net.dv8tion.jda.core.events.guild.GenericGuildEvent
-
- net.dv8tion.jda.core.events.guild.voice.GenericGuildVoiceEvent
-
- net.dv8tion.jda.core.events.guild.voice.GuildVoiceJoinEvent
-
public class GuildVoiceJoinEvent extends GenericGuildVoiceEvent
Indicates that aMember
connected to aVoiceChannel
.When the
Member
is moved aGuildVoiceMoveEvent
is fired insteadCan be used to detect when a member joins a voice channel for the first time.
-
-
Constructor Summary
Constructors Constructor Description GuildVoiceJoinEvent(JDA api, long responseNumber, Member member)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VoiceChannel
getChannelJoined()
TheVoiceChannel
that was joined-
Methods inherited from class net.dv8tion.jda.core.events.guild.voice.GenericGuildVoiceEvent
getMember, getVoiceState
-
Methods inherited from class net.dv8tion.jda.core.events.guild.GenericGuildEvent
getGuild
-
Methods inherited from class net.dv8tion.jda.core.events.Event
getJDA, getResponseNumber
-
-
-
-
Method Detail
-
getChannelJoined
public VoiceChannel getChannelJoined()
TheVoiceChannel
that was joined- Returns:
- The
VoiceChannel
-
-