Modifier and Type | Method and Description |
---|---|
static BanBuilder |
builder()
Creates a new BanBuilder.
|
static Ban |
of(User user)
Creates an indefinite ban on a user.
|
static Ban |
of(User user,
Text.Literal reason)
Creates an indefinite ban with a reason on a user.
|
public static BanBuilder builder()
public static Ban of(User user)
user
- The userpublic static Ban of(User user, Text.Literal reason)
user
- The userreason
- The reason