Add missing fields to Embed.from_data()

This commit is contained in:
Ian Salmons 2017-01-08 20:42:40 +00:00
parent e7c5ef181f
commit 9224d9b9d3

View File

@ -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: