From 95451c35e74a03ac3d8f2bcf68ca70141cacf975 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Wed, 31 May 2017 01:57:18 -0400 Subject: [PATCH] Document Message.embeds and Message.attachments changes. --- docs/migrating.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/migrating.rst b/docs/migrating.rst index f2924af79..1b656e6a6 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.