diff options
| author | Rapptz <[email protected]> | 2020-11-23 06:23:06 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-11-23 06:23:06 -0500 |
| commit | 5bad6339871ac97e3073a1445973543c606177bb (patch) | |
| tree | 7679c270637b4e68d34d088198cca5ceadfce124 /discord/sticker.py | |
| parent | [commands] Fetch user if an ID is passed and cache lookup fails. (diff) | |
| download | discord.py-5bad6339871ac97e3073a1445973543c606177bb.tar.xz discord.py-5bad6339871ac97e3073a1445973543c606177bb.zip | |
Fix preview_asset key name in Sticker
Diffstat (limited to 'discord/sticker.py')
| -rw-r--r-- | discord/sticker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/sticker.py b/discord/sticker.py index a88d2af1..845940b4 100644 --- a/discord/sticker.py +++ b/discord/sticker.py @@ -83,7 +83,7 @@ class Sticker(Hashable): except KeyError: self.tags = [] - self.preview_image = data.get('preview_image') + self.preview_image = data.get('preview_asset') def __repr__(self): return '<{0.__class__.__name__} id={0.id} name={0.name!r}>'.format(self) |