Class TextChannelCreateEvent
java.lang.Object
discord4j.core.event.domain.Event
discord4j.core.event.domain.channel.ChannelEvent
discord4j.core.event.domain.channel.TextChannelCreateEvent
Dispatched when a
TextChannel
is created in a guild.
This event is dispatched by Discord.
- See Also:
-
Constructor Summary
ConstructorDescriptionTextChannelCreateEvent
(GatewayDiscordClient gateway, ShardInfo shardInfo, TextChannel channel) -
Method Summary
Modifier and TypeMethodDescriptionGets theTextChannel
that was created in this event.toString()
Methods inherited from class discord4j.core.event.domain.Event
getClient, getShardInfo
-
Constructor Details
-
TextChannelCreateEvent
public TextChannelCreateEvent(GatewayDiscordClient gateway, ShardInfo shardInfo, TextChannel channel)
-
-
Method Details
-
getChannel
Gets theTextChannel
that was created in this event.- Returns:
- The newly created
TextChannel
.
-
toString
-