mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-05 23:04:51 +00:00
Fix copypasta
This commit is contained in:
parent
ee2d66b416
commit
1f05c4223a
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Reference in a new issue