- Enclosing interface:
Guild
public static class Guild.Ban
extends Object
Represents a Ban object.
- See Also:
-
-
Constructor Summary
Constructors
-
Method Summary
The reason why this user was banned
-
-
Method Details
-
getUser
@Nonnull
public User getUser()
- Returns:
- The banned User
-
getReason
@Nullable
public String getReason()
The reason why this user was banned
- Returns:
- The reason for this ban, or
null
-