public static enum Guild.VerificationLevel extends Enum<Guild.VerificationLevel>
Members
of the server must meet the following criteria before they can send messages in text
channels or initiate a direct message conversation. If a member has an assigned role this does not apply.Enum Constant and Description |
---|
HIGH
(╯°□°)╯︵ ┻━┻ - Must be a member of the server for longer than 10 minutes.
|
LOW
Must have verified email on account.
|
MEDIUM
Must be registered on Discord for longer than 5 minutes.
|
NONE
Unrestricted.
|
UNKNOWN
Unknown verification level.
|
VERY_HIGH
┻━┻ミヽ(ಠ益ಠ)ノ彡┻━┻ - Must have a verified phone number.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Gets the underlying value as represented by Discord.
|
static Guild.VerificationLevel |
of(int value)
Gets the verification level of the guild.
|
static Guild.VerificationLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Guild.VerificationLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Guild.VerificationLevel UNKNOWN
public static final Guild.VerificationLevel NONE
public static final Guild.VerificationLevel LOW
public static final Guild.VerificationLevel MEDIUM
public static final Guild.VerificationLevel HIGH
public static final Guild.VerificationLevel VERY_HIGH
public static Guild.VerificationLevel[] values()
for (Guild.VerificationLevel c : Guild.VerificationLevel.values()) System.out.println(c);
public static Guild.VerificationLevel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public static Guild.VerificationLevel of(int value)
getValue()
from the
returned enum will equal (==
) the supplied value
.value
- The underlying value as represented by Discord.