aboutsummaryrefslogtreecommitdiff
path: root/discord/embeds.py
diff options
context:
space:
mode:
authorIan Salmons <[email protected]>2017-01-08 20:42:40 +0000
committerIan Salmons <[email protected]>2017-01-08 20:42:40 +0000
commit9224d9b9d3a12839fd9b7a71e13e2900c31a16ed (patch)
treeb7e4c32fd2d2d2cd8b5d832dafd750bb337ad482 /discord/embeds.py
parentAllow uploading of GIFs for users. (diff)
downloaddiscord.py-9224d9b9d3a12839fd9b7a71e13e2900c31a16ed.tar.xz
discord.py-9224d9b9d3a12839fd9b7a71e13e2900c31a16ed.zip
Add missing fields to Embed.from_data()
Diffstat (limited to 'discord/embeds.py')
-rw-r--r--discord/embeds.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/embeds.py b/discord/embeds.py
index f73ac6ef..c9ff36ed 100644
--- a/discord/embeds.py
+++ b/discord/embeds.py
@@ -132,7 +132,7 @@ class Embed:
except KeyError:
pass
- for attr in ('thumbnail', 'video', 'provider', 'author', 'fields'):
+ for attr in ('thumbnail', 'video', 'provider', 'author', 'fields', 'image', 'footer'):
try:
value = data[attr]
except KeyError: