pyrofork: fix on_error help

Signed-off-by: wulan17 <wulan17@komodos.id>
This commit is contained in:
wulan17 2025-05-14 12:25:26 +07:00
parent 40cd7badd5
commit ac7ad7d3bc
No known key found for this signature in database
GPG key ID: 737814D4B5FF0420

View file

@ -28,7 +28,7 @@ class OnError:
"""Decorator for handling new errors.
This does the same thing as :meth:`~pyrogram.Client.add_handler` using the
:obj:`~pyrogram.handlers.MessageHandler`.
:obj:`~pyrogram.handlers.ErrorHandler`.
Parameters:
errors (:obj:`~Exception`, *optional*):