aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNadir Chowdhury <[email protected]>2021-04-29 07:16:55 +0100
committerGitHub <[email protected]>2021-04-29 02:16:55 -0400
commitcbbd31cc9fccbef85ef65e56b509c1944e2eb8dc (patch)
tree947323282f35ecb700a6d8f27e524ce4c39e8940
parentAdd utils.MISSING (diff)
downloaddiscord.py-cbbd31cc9fccbef85ef65e56b509c1944e2eb8dc.tar.xz
discord.py-cbbd31cc9fccbef85ef65e56b509c1944e2eb8dc.zip
fix AttributeError in Sticker.image
-rw-r--r--discord/sticker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/sticker.py b/discord/sticker.py
index 8a1e4518..c93ac763 100644
--- a/discord/sticker.py
+++ b/discord/sticker.py
@@ -107,4 +107,4 @@ class Sticker(Hashable):
if self.format is StickerType.lottie:
return None
- return Asset._from_sticker_url(self._state, self.id, self._image)
+ return Asset._from_sticker(self._state, self.id, self._image)