Class UserBlockedEvent
- 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.UserBlockedEvent
-
public class UserBlockedEvent extends GenericRelationshipAddEvent
-
-
Constructor Summary
Constructors Constructor Description UserBlockedEvent(JDA api, long responseNumber, Relationship relationship)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockedUser
getBlockedUser()
-
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
-
UserBlockedEvent
public UserBlockedEvent(JDA api, long responseNumber, Relationship relationship)
-
-
Method Detail
-
getBlockedUser
public BlockedUser getBlockedUser()
-
-