aboutsummaryrefslogtreecommitdiff
path: root/docs/migrating.rst
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-05-31 01:57:18 -0400
committerRapptz <[email protected]>2017-05-31 01:57:18 -0400
commit95451c35e74a03ac3d8f2bcf68ca70141cacf975 (patch)
tree85f6d11022ca0c1dac811912f4d9da1307fd5015 /docs/migrating.rst
parentWriting to files is 'wb' not 'rb'. (diff)
downloaddiscord.py-95451c35e74a03ac3d8f2bcf68ca70141cacf975.tar.xz
discord.py-95451c35e74a03ac3d8f2bcf68ca70141cacf975.zip
Document Message.embeds and Message.attachments changes.
Diffstat (limited to 'docs/migrating.rst')
-rw-r--r--docs/migrating.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/migrating.rst b/docs/migrating.rst
index f2924af7..1b656e6a 100644
--- a/docs/migrating.rst
+++ b/docs/migrating.rst
@@ -356,9 +356,12 @@ They will be enumerated here.
**Changed**
- :attr:`Member.avatar_url` and :attr:`User.avatar_url` now return the default avatar if a custom one is not set.
+- :attr:`Message.embeds` is now a list of :class:`Embed` instead of ``dict`` objects.
+- :attr:`Message.attachments` is now a list of :class:`Attachment` instead of ``dict`` object.
**Added**
+- :class:`Attachment` to represent a discord attachment.
- :attr:`VoiceChannel.members` for fetching members connected to a voice channel.
- :attr:`TextChannel.members` for fetching members that can see the channel.
- :attr:`Role.members` for fetching members that have the role.