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