From 5f7be861adf622fe3a5f7f82ef043a37ba700587 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Celderlabs=E2=80=9D?= Date: Tue, 12 Mar 2019 21:23:39 -0400 Subject: [PATCH] Probably smart to make sure the tests can pass, too, + typo correction. --- disco/types/message.py | 2 +- tests/types/user.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/disco/types/message.py b/disco/types/message.py index a613d12..27f063d 100644 --- a/disco/types/message.py +++ b/disco/types/message.py @@ -346,7 +346,7 @@ class Message(SlottedModel): IDs for roles mentioned within this message. embeds : list[`MessageEmbed`] Embeds for this message. - attachments : list[`MessageAttachment`] + attachments : dict[`MessageAttachment`] Attachments for this message. reactions : list[`MessageReaction`] Reactions for this message. diff --git a/tests/types/user.py b/tests/types/user.py index 89eaca6..befea3f 100644 --- a/tests/types/user.py +++ b/tests/types/user.py @@ -13,7 +13,7 @@ class TestChannel(TestCase): bot=False) self.assertEqual( - u.avatar_url, 'https://cdn.discordapp.com/avatars/12345/1234567890abcdefghijkl.webp?size=1024' + u.avatar_url, 'https://media.discordapp.net/avatars/12345/1234567890abcdefghijkl.webp?size=1024' ) def test_user_default_avatar(self):