toHuman

fun Duration<IsoUnit>.toHuman(locale: Locale, relativeTo: PlainTimestamp = PlainTimestamp.nowInSystemTime()): String?
suspend fun Duration<IsoUnit>.toHuman(context: CommandContext, relativeTo: PlainTimestamp = PlainTimestamp.nowInSystemTime()): String?

Given a Duration, this function will return a String (or null if it represents less than 1 second).

The string is intended to be readable for humans - "a days, b hours, c minutes, d seconds".