Class GenericStoreChannelEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.channel.store.GenericStoreChannelEvent
-
- All Implemented Interfaces:
GenericEvent
- Direct Known Subclasses:
GenericStoreChannelUpdateEvent,StoreChannelCreateEvent,StoreChannelDeleteEvent,StoreChannelUpdatePermissionsEvent
public abstract class GenericStoreChannelEvent extends Event
Indicates that aStoreChannelevent was fired.
Every StoreChannelEvent is an instance of this event and can be casted.Can be used to detect any StoreChannelEvent.
-
-
Constructor Summary
Constructors Constructor Description GenericStoreChannelEvent(JDA api, long responseNumber, StoreChannel channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StoreChannelgetChannel()TheStoreChannel.-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-
-
-
Constructor Detail
-
GenericStoreChannelEvent
public GenericStoreChannelEvent(@Nonnull JDA api, long responseNumber, @Nonnull StoreChannel channel)
-
-
Method Detail
-
getChannel
@Nonnull public StoreChannel getChannel()
TheStoreChannel.- Returns:
- The channel
-
-