GenericVoiceChannelUpdateEvent, VoiceChannelCreateEvent, VoiceChannelDeleteEvent, VoiceChannelUpdatePermissionsEventpublic abstract class GenericVoiceChannelEvent extends Event
VoiceChannel event was fired.
Can be used to detect any VoiceChannelEvent.
| Constructor | Description |
|---|---|
GenericVoiceChannelEvent(JDA api,
long responseNumber,
VoiceChannel channel) |
| Modifier and Type | Method | Description |
|---|---|---|
VoiceChannel |
getChannel() |
The
VoiceChannel |
Guild |
getGuild() |
getJDA, getResponseNumberpublic GenericVoiceChannelEvent(JDA api, long responseNumber, VoiceChannel channel)
public VoiceChannel getChannel()
VoiceChannelpublic Guild getGuild()