def METHOD_NAME(bot: "Client") -> str:
    """Create a nicely formatted table of internal cache state."""
    caches = {
        c[0]: getattr(bot.cache, c[0])
        for c in inspect.getmembers(bot.cache, predicate=lambda x: isinstance(x, dict))
        if not c[0].startswith("__")
    }
    caches["endpoints"] = bot.http._endpoints
    caches["rate_limits"] = bot.http.ratelimit_locks
    table = []
    for cache, val in caches.items():
        if isinstance(val, TTLCache):
            amount = [len(val), f"{val.hard_limit}({val.soft_limit})"]
            expire = f"{val.ttl}s"
        elif isinstance(val, NullCache):
            amount = ("DISABLED",)
            expire = "N/A"
        elif isinstance(val, (weakref.WeakValueDictionary, weakref.WeakKeyDictionary)):
            amount = [len(val), "∞"]
            expire = "w_ref"
        else:
            amount = [len(val), "∞"]
            expire = "none"
        row = [cache.removesuffix("_cache"), amount, expire]
        table.append(row)
    adjust_subcolumn(table, 1, aligns=[">", "<"])
    labels = ["Cache", "Amount", "Expire"]
    return make_table(table, labels)