We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a0e5c0 commit 35c7dc1Copy full SHA for 35c7dc1
discord/asset.py
@@ -144,7 +144,9 @@ class Asset(AssetMixin):
144
145
.. describe:: hash(x)
146
147
- Returns the hash of the asset.
+ Returns the asset's url's hash.
148
+
149
+ This is equivalent to hash(:attr:`url`).
150
"""
151
152
__slots__: tuple[str, ...] = (
discord/message.py
@@ -146,7 +146,9 @@ class Attachment(Hashable):
- Returns the hash of the attachment.
+ Returns the attachment's unique identifier.
+ This is equivalent to :attr:`id`.
153
.. versionchanged:: 1.7
154
Attachment can now be cast to :class:`str` and is hashable.
0 commit comments