Interface MessageComponentCreateListener
-
- All Superinterfaces:
GloballyAttachableListener,MessageAttachableListener,ObjectAttachableListener,PrivateChannelAttachableListener,ServerAttachableListener,ServerTextChannelAttachableListener,TextChannelAttachableListener,UserAttachableListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface MessageComponentCreateListener extends ServerAttachableListener, UserAttachableListener, TextChannelAttachableListener, MessageAttachableListener, GloballyAttachableListener, ObjectAttachableListener
This listener listens to message component interaction creations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonComponentCreate(MessageComponentCreateEvent event)This method is called every time a message component interaction is created.
-
-
-
Method Detail
-
onComponentCreate
void onComponentCreate(MessageComponentCreateEvent event)
This method is called every time a message component interaction is created.- Parameters:
event- The event.
-
-