public class GuildVoiceJoinEvent extends GenericGuildVoiceEvent
Member connected to a VoiceChannel.
When the Member is moved a GuildVoiceMoveEvent is fired instead
Can be used to detect when a member joins a voice channel for the first time.
| Constructor | Description |
|---|---|
GuildVoiceJoinEvent(JDA api,
long responseNumber,
Member member) |
| Modifier and Type | Method | Description |
|---|---|---|
VoiceChannel |
getChannelJoined() |
The
VoiceChannel that was joined |
getJDA, getResponseNumbergetGuildgetMember, getVoiceStatepublic VoiceChannel getChannelJoined()
VoiceChannel that was joinedVoiceChannel