GenericRelationshipAddEvent
, GenericRelationshipRemoveEvent
public abstract class GenericRelationshipEvent extends Event
Constructor | Description |
---|---|
GenericRelationshipEvent(JDA api,
long responseNumber,
Relationship relationship) |
Modifier and Type | Method | Description |
---|---|---|
Relationship |
getRelationship() |
|
RelationshipType |
getRelationshipType() |
|
User |
getUser() |
getJDA, getResponseNumber
public GenericRelationshipEvent(JDA api, long responseNumber, Relationship relationship)
public Relationship getRelationship()
public RelationshipType getRelationshipType()
public User getUser()