diff --git a/discord/asset.py b/discord/asset.py index 07c7ca8e7b..2397a189bd 100644 --- a/discord/asset.py +++ b/discord/asset.py @@ -144,7 +144,9 @@ class Asset(AssetMixin): .. describe:: hash(x) - Returns the hash of the asset. + Returns the asset's url's hash. + + This is equivalent to hash(:attr:`url`). """ __slots__: tuple[str, ...] = ( diff --git a/discord/message.py b/discord/message.py index 4458844a26..909453c1ad 100644 --- a/discord/message.py +++ b/discord/message.py @@ -146,7 +146,9 @@ class Attachment(Hashable): .. describe:: hash(x) - Returns the hash of the attachment. + Returns the attachment's unique identifier. + + This is equivalent to :attr:`id`. .. versionchanged:: 1.7 Attachment can now be cast to :class:`str` and is hashable.