fix AttributeError in Sticker.image

This commit is contained in:
Nadir Chowdhury 2021-04-29 07:16:55 +01:00 committed by GitHub
parent c786a85a9b
commit cbbd31cc9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)