sticker 修复错误

This commit is contained in:
xtaodada 2022-12-05 23:11:59 +08:00
parent a802715546
commit e2118db685
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -134,7 +134,7 @@ class Sticker:
sticker_ = self.should_forward.sticker
self.is_video = sticker_.is_video
self.is_animated = sticker_.is_animated
self.emoji = sticker_.emoji
self.emoji = sticker_.emoji or self.emoji
if self.is_video or self.is_animated:
self.document_path = await self.download_file()
file = FileId.decode(sticker_.file_id)