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