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