Enum Class DIH4JDALogger.Type

java.lang.Object
java.lang.Enum<DIH4JDALogger.Type>
xyz.dynxsty.dih4jda.DIH4JDALogger.Type
All Implemented Interfaces:
Serializable, Comparable<DIH4JDALogger.Type>, Constable
Enclosing class:
DIH4JDALogger

public static enum DIH4JDALogger.Type extends Enum<DIH4JDALogger.Type>
All types that are supported by the DIH4JDALogger.
  • Enum Constant Details

    • INFO

      public static final DIH4JDALogger.Type INFO
      Use this if you want to inform the user.
    • WARN

      public static final DIH4JDALogger.Type WARN
      Use this if you want to warn the user.
    • ERROR

      public static final DIH4JDALogger.Type ERROR
      Use this if an error occurred.
    • DEBUG

      public static final DIH4JDALogger.Type DEBUG
      Use this if you want to debug something/debug information.
    • TRACE

      public static final DIH4JDALogger.Type TRACE
      Use this if you want to trace something down.
    • COMMANDS_QUEUED

      public static final DIH4JDALogger.Type COMMANDS_QUEUED
      Something related to queueing commands.
    • SLASH_COMMAND_REGISTERED

      public static final DIH4JDALogger.Type SLASH_COMMAND_REGISTERED
      Use this if a slash command was registered.
    • SLASH_COMMAND_SKIPPED

      public static final DIH4JDALogger.Type 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

      public static final DIH4JDALogger.Type CONTEXT_COMMAND_REGISTERED
      Use this if a context command was registered.
    • CONTEXT_COMMAND_SKIPPED

      public static final DIH4JDALogger.Type 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

      public static final DIH4JDALogger.Type SMART_QUEUE
      Used together with SmartQueue.
    • SMART_QUEUE_IGNORED

      public static final DIH4JDALogger.Type SMART_QUEUE_IGNORED
      If a command got ignored by the SmartQueue.
    • SMART_QUEUE_DELETED_UNKNOWN

      public static final DIH4JDALogger.Type SMART_QUEUE_DELETED_UNKNOWN
      If a command got deleted by the SmartQueue.
    • SMART_QUEUE_IGNORED_UNKNOWN

      public static final DIH4JDALogger.Type SMART_QUEUE_IGNORED_UNKNOWN
      If a command got ignored by the SmartQueue because it was unknown.
    • BUTTON_NOT_FOUND

      public static final DIH4JDALogger.Type BUTTON_NOT_FOUND
      If a button could not be found.
    • SELECT_MENU_NOT_FOUND

      public static final DIH4JDALogger.Type SELECT_MENU_NOT_FOUND
      If a select menu could not be found.
    • EVENT_MISSING_HANDLER

      public static final DIH4JDALogger.Type EVENT_MISSING_HANDLER
      If an implementation for DIH4JDAEventListener is missing.
  • Method Details

    • values

      public static DIH4JDALogger.Type[] 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

      public static DIH4JDALogger.Type valueOf(String name)
      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 name
      NullPointerException - if the argument is null