Class FriendAddedEvent
- java.lang.Object
-
- net.dv8tion.jda.core.events.Event
-
- net.dv8tion.jda.client.events.relationship.GenericRelationshipEvent
-
- net.dv8tion.jda.client.events.relationship.GenericRelationshipAddEvent
-
- net.dv8tion.jda.client.events.relationship.FriendAddedEvent
-
public class FriendAddedEvent extends GenericRelationshipAddEvent
-
-
Constructor Summary
Constructors Constructor Description FriendAddedEvent(JDA api, long responseNumber, Relationship relationship)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Friend
getFriend()
-
Methods inherited from class net.dv8tion.jda.client.events.relationship.GenericRelationshipEvent
getRelationship, getRelationshipType, getUser
-
Methods inherited from class net.dv8tion.jda.core.events.Event
getJDA, getResponseNumber
-
-
-
-
Constructor Detail
-
FriendAddedEvent
public FriendAddedEvent(JDA api, long responseNumber, Relationship relationship)
-
-
Method Detail
-
getFriend
public Friend getFriend()
-
-