mirror of
https://github.com/TeamPGM/PagerMaid-Pyro.git
synced 2024-11-21 18:58:21 +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:
|
||||
return self
|
||||
msg.parameter = self.parameter
|
||||
msg.arguments = self.arguments
|
||||
msg.parameter = self.parameter if hasattr(self, "parameter") else []
|
||||
msg.arguments = self.arguments if hasattr(self, "arguments") else ""
|
||||
return msg
|
||||
|
||||
edit = edit_text
|
||||
|
Loading…
Reference in New Issue
Block a user