mirror of
https://github.com/TeamPGM/PagerMaid_Plugins_Pyro.git
synced 2024-11-16 07:39:26 +00:00
sticker 修复错误
This commit is contained in:
parent
a802715546
commit
e2118db685
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user