mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 21:07:59 +00:00
Fix copypasta
This commit is contained in:
parent
ee2d66b416
commit
1f05c4223a
@ -192,6 +192,7 @@ class Client:
|
|||||||
def on_message(self, group: int = 0):
|
def on_message(self, group: int = 0):
|
||||||
def decorator(f):
|
def decorator(f):
|
||||||
self.add_handler(pyrogram.MessageHandler(f), group)
|
self.add_handler(pyrogram.MessageHandler(f), group)
|
||||||
|
return f
|
||||||
|
|
||||||
return decorator
|
return decorator
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user