Package xyz.dynxsty.dih4jda
Enum Class DIH4JDALogger.Type
- All Implemented Interfaces:
Serializable
,Comparable<DIH4JDALogger.Type>
,Constable
- Enclosing class:
DIH4JDALogger
All types that are supported by the
DIH4JDALogger
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIf a button could not be found.Something related to queueing commands.Use this if a context command was registered.Use this if a context command was skipped.
For example if the command should not be registered on a specific guild.Use this if you want to debug something/debug information.Use this if an error occurred.If an implementation forDIH4JDAEventListener
is missing.Use this if you want to inform the user.If a modal could not be found.If a select menu could not be found.Use this if a slash command was registered.Use this if a slash command was skipped.
For example if the command should not be registered on a specific guild.Used together withSmartQueue
.If a command got deleted by theSmartQueue
.If a command got ignored by theSmartQueue
.If a command got ignored by theSmartQueue
because it was unknown.Use this if you want to trace something down.Use this if you want to warn the user. -
Method Summary
Modifier and TypeMethodDescriptionstatic DIH4JDALogger.Type
Returns the enum constant of this class with the specified name.static DIH4JDALogger.Type[]
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
-
Enum Constant Details
-
INFO
Use this if you want to inform the user. -
WARN
Use this if you want to warn the user. -
ERROR
Use this if an error occurred. -
DEBUG
Use this if you want to debug something/debug information. -
TRACE
Use this if you want to trace something down. -
COMMANDS_QUEUED
Something related to queueing commands. -
SLASH_COMMAND_REGISTERED
Use this if a slash command was registered. -
SLASH_COMMAND_SKIPPED
Use this if a slash command was skipped.
For example if the command should not be registered on a specific guild. -
CONTEXT_COMMAND_REGISTERED
Use this if a context command was registered. -
CONTEXT_COMMAND_SKIPPED
Use this if a context command was skipped.
For example if the command should not be registered on a specific guild. -
SMART_QUEUE
Used together withSmartQueue
. -
SMART_QUEUE_IGNORED
If a command got ignored by theSmartQueue
. -
SMART_QUEUE_DELETED_UNKNOWN
If a command got deleted by theSmartQueue
. -
SMART_QUEUE_IGNORED_UNKNOWN
If a command got ignored by theSmartQueue
because it was unknown. -
BUTTON_NOT_FOUND
If a button could not be found. -
SELECT_MENU_NOT_FOUND
If a select menu could not be found. -
MODAL_NOT_FOUND
If a modal could not be found. -
EVENT_MISSING_HANDLER
If an implementation forDIH4JDAEventListener
is missing.
-
-
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
-