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