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 java.lang.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 java.lang.String
getReason()
The reason why this user was bannedUser
getUser()
TheUser
that was bannedjava.lang.String
toString()
-
-
-
Constructor Detail
-
Ban
public Ban(User user, java.lang.String reason)
-
-