diff --git a/discord/primary_guild.py b/discord/primary_guild.py index 13e6ae035f..27edba7e97 100644 --- a/discord/primary_guild.py +++ b/discord/primary_guild.py @@ -22,6 +22,7 @@ DEALINGS IN THE SOFTWARE. """ +from functools import cached_property from typing import TYPE_CHECKING if TYPE_CHECKING: @@ -61,7 +62,7 @@ def __init__(self, data: PrimaryGuildPayload, state: "ConnectionState") -> None: def __repr__(self) -> str: return f"" - @property + @cached_property def badge(self) -> Asset | None: """Returns the badge asset, if available.