def format_timedelta(seconds: int) -> str:
    """Returns a formatted message that is displayed whenever a command wants to display a duration"""

    hours = int(seconds / (60 * 60))
    minutes = int(seconds % (60 * 60) / 60)

    return f"{hours}h {minutes}m"