Module ultimategdbot.api
Package com.github.alex1304.ultimategdbot.api.util
-
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.PropertyReader Allows to read values from an abstracted source of properties. -
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 MessageSpecTemplate Message specification that is compatible with bothMessageCreateSpec
andMessageEditSpec
. -
Enum Summary Enum Description SystemUnit Enumerates system units (bytes, kilobytes, etc until terabytes) Provides methods for conversion and formatting.