Browse Source

Add missing fields to Embed.from_data()

pull/448/head
Ian Salmons 8 years ago
parent
commit
9224d9b9d3
  1. 2
      discord/embeds.py

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

Loading…
Cancel
Save