mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Add missing fields to Embed.from_data()
This commit is contained in:
parent
e7c5ef181f
commit
9224d9b9d3
@ -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…
x
Reference in New Issue
Block a user