Package org.javacord.api.listener.server
Interface ServerJoinListener
-
- All Superinterfaces:
GloballyAttachableListener
- 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 ServerJoinListener extends GloballyAttachableListener
This listener listens to server joins. Do not confuse it with theServerMemberJoinListener: ServerMemberAddListener is for other users and ServerJoinListener is for yourself!
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonServerJoin(ServerJoinEvent event)This method is called every time you join a server.
-
-
-
Method Detail
-
onServerJoin
void onServerJoin(ServerJoinEvent event)
This method is called every time you join a server.- Parameters:
event- The event.
-
-