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