mirror of
https://github.com/TeamPGM/PagerMaid-Pyro.git
synced 2024-11-24 18:06:47 +00:00
🚑 hotfix: listen Attribute bug
This commit is contained in:
parent
5cb2cac42a
commit
cce5688f19
@ -304,8 +304,8 @@ class Message(pyrogram.types.Message):
|
|||||||
)
|
)
|
||||||
if not msg:
|
if not msg:
|
||||||
return self
|
return self
|
||||||
msg.parameter = self.parameter
|
msg.parameter = self.parameter if hasattr(self, "parameter") else []
|
||||||
msg.arguments = self.arguments
|
msg.arguments = self.arguments if hasattr(self, "arguments") else ""
|
||||||
return msg
|
return msg
|
||||||
|
|
||||||
edit = edit_text
|
edit = edit_text
|
||||||
|
Loading…
Reference in New Issue
Block a user