Enum Class DiscordMessages.Mute
java.lang.Object
java.lang.Enum<DiscordMessages.Mute>
me.remigio07.chatplugin.api.common.discord.DiscordMessages.Mute
- All Implemented Interfaces:
Serializable
,Comparable<DiscordMessages.Mute>
,Constable
,DiscordMessage
- Enclosing class:
- DiscordMessages
public static enum DiscordMessages.Mute
extends Enum<DiscordMessages.Mute>
implements DiscordMessage
Represents the mute messages.
Found at: "messages.mute" in ConfigurationType.DISCORD_INTEGRATION
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRepresents the mute empty list message.Represents the mute expired message.Represents the mute info message.Represents the mute list message.Represents the mute muted message.Represents the mute unmuted message.Represents the mute updated message. -
Method Summary
Modifier and TypeMethodDescriptionGets this message'snet.dv8tion.jda.api.entities.MessageEmbed
value.getPath()
Gets this message's path inConfigurationType.DISCORD_INTEGRATION
.static DiscordMessages.Mute
Returns the enum constant of this class with the specified name.static DiscordMessages.Mute[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface me.remigio07.chatplugin.api.common.discord.DiscordMessage
isEnabled
-
Enum Constant Details
-
INFO
Represents the mute info message.Found at: "messages.mute.info" in
ConfigurationType.DISCORD_INTEGRATION
-
LIST
Represents the mute list message.Found at: "messages.mute.list" in
ConfigurationType.DISCORD_INTEGRATION
-
EMPTY_LIST
Represents the mute empty list message.Found at: "messages.mute.empty-list" in
ConfigurationType.DISCORD_INTEGRATION
-
MUTED
Represents the mute muted message.Found at: "messages.mute.muted" in
ConfigurationType.DISCORD_INTEGRATION
-
UPDATED
Represents the mute updated message.Found at: "messages.mute.updated" in
ConfigurationType.DISCORD_INTEGRATION
-
UNMUTED
Represents the mute unmuted message.Found at: "messages.mute.unmuted" in
ConfigurationType.DISCORD_INTEGRATION
-
EXPIRED
Represents the mute expired message.Found at: "messages.mute.expired" in
ConfigurationType.DISCORD_INTEGRATION
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getPath
Description copied from interface:DiscordMessage
Gets this message's path inConfigurationType.DISCORD_INTEGRATION
.It includes a dot at the end; example: "messages.ban.info.".
- Specified by:
getPath
in interfaceDiscordMessage
- Returns:
- Message's path
-
getEmbed
Description copied from interface:DiscordMessage
Gets this message'snet.dv8tion.jda.api.entities.MessageEmbed
value.This method returns an
Object
because libraries' classes cannot be accessed directly from the API.- Specified by:
getEmbed
in interfaceDiscordMessage
- Parameters:
args
- Message's specific arguments- Returns:
- Resulting embed message
-