Class StoreChannelCreateEvent
- java.lang.Object
-
- discord4j.core.event.domain.Event
-
- discord4j.core.event.domain.channel.ChannelEvent
-
- discord4j.core.event.domain.channel.StoreChannelCreateEvent
-
public class StoreChannelCreateEvent extends ChannelEvent
Dispatched when aStoreChannelis created in a guild.This event is dispatched by Discord.
- See Also:
- Channel Create
-
-
Constructor Summary
Constructors Constructor Description StoreChannelCreateEvent(GatewayDiscordClient gateway, ShardInfo shardInfo, StoreChannel channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StoreChannelgetChannel()Gets theStoreChannelthat was created in this event.StringtoString()-
Methods inherited from class discord4j.core.event.domain.Event
getClient, getShardInfo
-
-
-
-
Constructor Detail
-
StoreChannelCreateEvent
public StoreChannelCreateEvent(GatewayDiscordClient gateway, ShardInfo shardInfo, StoreChannel channel)
-
-
Method Detail
-
getChannel
public StoreChannel getChannel()
Gets theStoreChannelthat was created in this event.- Returns:
- The newly created
StoreChannel.
-
-