Package net.dv8tion.jda.api.entities
Class Guild.Ban
- java.lang.Object
-
- net.dv8tion.jda.api.entities.Guild.Ban
-
- Enclosing interface:
- Guild
public static class Guild.Ban extends Object
Represents a Ban object.- See Also:
Guild.retrieveBanList()
, Discord Docs: Ban Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getReason()
The reason why this user was bannedUser
getUser()
TheUser
that was bannedString
toString()
-