Skip to content

Commit 27ece86

Browse files
authored
docs: document version addition for asset properties
Signed-off-by: Lala Sabathil <[email protected]>
1 parent 2b57461 commit 27ece86

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

discord/collectibles.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,20 @@ def __repr__(self) -> str:
5858

5959
@cached_property
6060
def static_asset(self) -> Asset:
61-
"""The static :class:`Asset` of this nameplate."""
61+
"""
62+
The static :class:`Asset` of this nameplate.
63+
64+
.. versionadded:: 2.7
65+
"""
6266
return Asset._from_collectible(self._state, self._asset)
6367

6468
@cached_property
6569
def animated_asset(self) -> Asset:
66-
"""The animated :class:`Asset` of this nameplate."""
70+
"""
71+
The animated :class:`Asset` of this nameplate.
72+
73+
.. versionadded:: 2.7
74+
"""
6775
return Asset._from_collectible(self._state, self._asset, animated=True)
6876

6977

0 commit comments

Comments
 (0)