Functions
Link copied to clipboard
@CheckReturnValue
fun <E : Enum<E>> enumResolver(e: Class<E>, values: Collection<E> = EnumSet.allOf(e)): EnumResolverBuilder<E>
Creates an enum resolver for slash commands, as well as component data and timeout data.
Link copied to clipboard
Convert an enum to a more human-friendly name.