Add missing fields to Embed.from_data()
This commit is contained in:
@@ -132,7 +132,7 @@ class Embed:
|
|||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
for attr in ('thumbnail', 'video', 'provider', 'author', 'fields'):
|
for attr in ('thumbnail', 'video', 'provider', 'author', 'fields', 'image', 'footer'):
|
||||||
try:
|
try:
|
||||||
value = data[attr]
|
value = data[attr]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
|||||||
Reference in New Issue
Block a user