mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 15:34:52 +00:00
Fix on_edited_message not being correctly registered in plugins
This commit is contained in:
parent
43e08d4143
commit
7992549386
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ class OnEditedMessage:
|
||||||
|
|
||||||
func.handlers.append(
|
func.handlers.append(
|
||||||
(
|
(
|
||||||
pyrogram.handlers.MessageHandler(func, self),
|
pyrogram.handlers.EditedMessageHandler(func, self),
|
||||||
group if filters is None else filters
|
group if filters is None else filters
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue