public class VoiceChannelCreateEvent extends ChannelEvent
VoiceChannel
is created in a guild.
This event is dispatched by Discord.
Constructor and Description |
---|
VoiceChannelCreateEvent(DiscordClient client,
VoiceChannel channel) |
Modifier and Type | Method and Description |
---|---|
VoiceChannel |
getChannel()
Gets the
VoiceChannel that was created in this event. |
String |
toString() |
public VoiceChannelCreateEvent(DiscordClient client, VoiceChannel channel)
public VoiceChannel getChannel()
VoiceChannel
that was created in this event.VoiceChannel
.