Package com.github.alex1304.ultimategdbot.api.utils

  • Interface Summary 
    Interface Description
    DatabaseInputFunction<D>
    Function that determines the value to save to the database after reading the user input as String.
    DatabaseOutputFunction<D>
    Function that determines the string to display to the user after reading the value from teh database.
  • Class Summary 
    Class Description
    BotUtils
    Contains various utility methods.
    DiscordFormatter
    Contains utility methods to format a Discord entity into a user-friendly String.
    DiscordParser
    Contains utility methods to parse a user input into a Discord entity.
    InputTokenizer
    Utility methods to split an input into tokens and recognize which are flags and which are arguments.
    Markdown  
    PropertyParser
    Allows to parse values from properties files.
    UniversalMessageSpec
    Message specification that is compatible with both MessageCreateSpec and MessageEditSpec.
  • Enum Summary 
    Enum Description
    SystemUnit
    Enumerates system units (bytes, kilobytes, etc until terabytes) Provides methods for conversion and formatting.