public static enum MessageBuilder.MentionType extends java.lang.Enum<MessageBuilder.MentionType>
MessageBuilder.stripMentions(JDA, MentionType...)
and MessageBuilder.stripMentions(Guild, MentionType...)
Enum Constant and Description |
---|
CHANNEL
#channel mentions
|
EVERYONE
@everyone mentions
|
HERE
@here mentions
|
ROLE
@Role mentions
|
USER
@User mentions
|
Modifier and Type | Method and Description |
---|---|
static MessageBuilder.MentionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessageBuilder.MentionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageBuilder.MentionType EVERYONE
public static final MessageBuilder.MentionType HERE
public static final MessageBuilder.MentionType USER
public static final MessageBuilder.MentionType CHANNEL
public static final MessageBuilder.MentionType ROLE
public static MessageBuilder.MentionType[] values()
for (MessageBuilder.MentionType c : MessageBuilder.MentionType.values()) System.out.println(c);
public static MessageBuilder.MentionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null