Package org.javacord.api.listener.user
Interface UserChangeNameListener
-
- All Superinterfaces:
GloballyAttachableListener,ObjectAttachableListener,ServerAttachableListener,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 UserChangeNameListener extends ServerAttachableListener, UserAttachableListener, GloballyAttachableListener, ObjectAttachableListener
This listener listens to user name changes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonUserChangeName(UserChangeNameEvent event)This method is called every time a user changed their name.
-
-
-
Method Detail
-
onUserChangeName
void onUserChangeName(UserChangeNameEvent event)
This method is called every time a user changed their name.- Parameters:
event- The event.
-
-