aboutsummaryrefslogtreecommitdiff
path: root/docs/whats_new.rst
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-04-03 23:33:03 -0400
committerRapptz <[email protected]>2021-04-03 23:33:03 -0400
commitf8964b1b32458ce90c4b034286e88828bc6248c2 (patch)
treeb57e49ef9421c07365d8c3a1e573c0626d9ce692 /docs/whats_new.rst
parentAdd content_type to Attachment (diff)
downloaddiscord.py-f8964b1b32458ce90c4b034286e88828bc6248c2.tar.xz
discord.py-f8964b1b32458ce90c4b034286e88828bc6248c2.zip
Add content_type to changelog
Diffstat (limited to 'docs/whats_new.rst')
-rw-r--r--docs/whats_new.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/whats_new.rst b/docs/whats_new.rst
index 9ec47633..3fc5999a 100644
--- a/docs/whats_new.rst
+++ b/docs/whats_new.rst
@@ -45,6 +45,7 @@ New Features
- Add :attr:`RawMessageUpdateEvent.guild_id` (:issue:`6489`)
- :class:`AuditLogEntry` is now hashable (:issue:`6495`)
- :class:`Attachment` is now hashable
+- Add :attr:`Attachment.content_type` attribute (:issue:`6618`)
- Add support for casting :class:`Attachment` to :class:`str` to get the URL.
- Add ``seed`` parameter for :class:`Colour.random` (:issue:`6562`)
- This only seeds it for one call. If seeding for multiple calls is desirable, use :func:`random.seed`.