Package org.javacord.api.listener.server
Interface ServerLeaveListener
-
- All Superinterfaces:
GloballyAttachableListener,ObjectAttachableListener,ServerAttachableListener
- 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 ServerLeaveListener extends ServerAttachableListener, GloballyAttachableListener, ObjectAttachableListener
This listener listens to server leaves. Do not confuse it with the ServerMemberRemoveListener: ServerMemberRemoveListener is for other users and ServerLeaveListener is for yourself!
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonServerLeave(ServerLeaveEvent event)This method is called every time you leave a server.
-
-
-
Method Detail
-
onServerLeave
void onServerLeave(ServerLeaveEvent event)
This method is called every time you leave a server.- Parameters:
event- the event.
-
-