diff --git a/discord/utils.py b/discord/utils.py index fbcf9c1f31..29921bf5b8 100644 --- a/discord/utils.py +++ b/discord/utils.py @@ -151,7 +151,7 @@ def __get__(self, instance, owner): class _RequestLike(Protocol): headers: Mapping[str, Any] - cached_property = NewType("cached_property", property) + cached_property = functools.cached_property P = ParamSpec("P")