diff options
| author | Ian Salmons <[email protected]> | 2017-01-08 20:42:40 +0000 |
|---|---|---|
| committer | Ian Salmons <[email protected]> | 2017-01-08 20:42:40 +0000 |
| commit | 9224d9b9d3a12839fd9b7a71e13e2900c31a16ed (patch) | |
| tree | b7e4c32fd2d2d2cd8b5d832dafd750bb337ad482 /discord/embeds.py | |
| parent | Allow uploading of GIFs for users. (diff) | |
| download | discord.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.py | 2 |
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: |