Skip to content
Success

Changes

Summary

  1. Implemented support for RELATIONSHIP_ADD and RELATIONSHIP_REMOVE. (commit: bc0b8ef) (details)
Commit bc0b8ef0b31cac53d0bbc63c124dc72289ff3e77 by Austin Keener
Implemented support for RELATIONSHIP_ADD and RELATIONSHIP_REMOVE.
Created FriendAdded, FriendRemoved, UserBlocked, UserUnblocked,
FriendRequestSent, (FR)Canceled, (FR)Received, and (FR)Ignored events.
Reordered the events checked in ListenerAdapter to make Messages checked
first for faster events for Messages.
(commit: bc0b8ef)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/hooks/ListenerAdapter.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/client/events/relationship/FriendRequestReceivedEvent.java
The file was addedsrc/main/java/net/dv8tion/jda/client/events/relationship/UserUnblockedEvent.java
The file was addedsrc/main/java/net/dv8tion/jda/client/events/relationship/GenericRelationshipAddEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/WebSocketClient.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/client/handle/RelationshipRemoveHandler.java
The file was addedsrc/main/java/net/dv8tion/jda/client/handle/RelationshipAddHandler.java
The file was addedsrc/main/java/net/dv8tion/jda/client/events/relationship/GenericRelationshipEvent.java
The file was addedsrc/main/java/net/dv8tion/jda/client/events/relationship/UserBlockedEvent.java
The file was addedsrc/main/java/net/dv8tion/jda/client/events/relationship/FriendRequestIgnoredEvent.java
The file was addedsrc/main/java/net/dv8tion/jda/client/events/relationship/FriendRemovedEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/core/handle/EventCache.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/client/events/relationship/GenericRelationshipRemoveEvent.java
The file was addedsrc/main/java/net/dv8tion/jda/client/events/relationship/FriendAddedEvent.java
The file was addedsrc/main/java/net/dv8tion/jda/client/events/relationship/FriendRequestCanceledEvent.java
The file was addedsrc/main/java/net/dv8tion/jda/client/events/relationship/FriendRequestSentEvent.java