public static class Guild.Ban
extends java.lang.Object
Guild.getBanList()
,
Discord Docs: Ban ObjectModifier and Type | Method | Description |
---|---|---|
java.lang.String |
getReason() |
The reason why this user was banned
|
User |
getUser() |
The
User that was banned |
java.lang.String |
toString() |
public Ban(User user, java.lang.String reason)