Interface MessageCreateListener
-
- All Superinterfaces:
GloballyAttachableListener
,GroupChannelAttachableListener
,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 MessageCreateListener extends ServerAttachableListener, UserAttachableListener, TextChannelAttachableListener, GloballyAttachableListener, ObjectAttachableListener
This listener listens to message creations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onMessageCreate(MessageCreateEvent event)
This method is called every time a message is created.
-
-
-
Method Detail
-
onMessageCreate
void onMessageCreate(MessageCreateEvent event)
This method is called every time a message is created.- Parameters:
event
- The event.
-
-