Message.MentionType
@Deprecated public static enum MessageBuilder.MentionType extends java.lang.Enum<MessageBuilder.MentionType>
MessageBuilder.stripMentions(JDA, MentionType...)
and MessageBuilder.stripMentions(Guild, MentionType...)
Enum Constant | Description |
---|---|
CHANNEL |
Deprecated.
#channel mentions
|
EVERYONE |
Deprecated.
@everyone mentions
|
HERE |
Deprecated.
@here mentions
|
ROLE |
Deprecated.
@Role mentions
|
USER |
Deprecated.
@User mentions
|
Modifier and Type | Method | Description |
---|---|---|
static MessageBuilder.MentionType |
valueOf(java.lang.String name) |
Deprecated.
Returns the enum constant of this type with the specified name.
|
static MessageBuilder.MentionType[] |
values() |
Deprecated.
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