Interface ReactionAddListener
-
- All Superinterfaces:
GloballyAttachableListener,GroupChannelAttachableListener,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 ReactionAddListener extends ServerAttachableListener, UserAttachableListener, TextChannelAttachableListener, MessageAttachableListener, GloballyAttachableListener, ObjectAttachableListener
This listener listens to reaction adding.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonReactionAdd(ReactionAddEvent event)This method is called every time a reaction is added to a message.
-
-
-
Method Detail
-
onReactionAdd
void onReactionAdd(ReactionAddEvent event)
This method is called every time a reaction is added to a message.- Parameters:
event- The event.
-
-