func HumanizeDuration(d time.Duration) string {
	seconds := int64(d.Seconds()) % 60
	minutes := int64(d.Minutes()) % 60
	hours := int64(d.Hours()) % 24
	days := int64(d.Hours()) / 24
	result := ""
	first := true
	if days > 0 {
		result += fmt.Sprintf("%vдн", days)
		first = false
	}
	if hours > 0 {
		if !first {
			result += " "
		}
		result += fmt.Sprintf("%vч", hours)
		first = false
	}
	if minutes > 0 {
		if !first {
			result += " "
		}
		result += fmt.Sprintf("%vмин", minutes)
		first = false
	}
	if seconds > 0 {
		if !first {
			result += " "
		}
		result += fmt.Sprintf("%vсек", seconds)
	}
	return result
}
HumanizeDuration converts time.Duration to readable format
package bot
import (
	"fmt"
	"time"
)
const Day = 24 * time.Hour