mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-10 00:24:51 +00:00
Compare commits
1 commit
7d5eba7221
...
9616ee73d6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9616ee73d6 |
2 changed files with 2 additions and 1 deletions
|
|
@ -26,6 +26,7 @@ import platform
|
|||
import re
|
||||
import shutil
|
||||
import sys
|
||||
from base64 import b64encode
|
||||
from concurrent.futures.thread import ThreadPoolExecutor
|
||||
from datetime import datetime, timedelta
|
||||
from hashlib import sha256
|
||||
|
|
|
|||
|
|
@ -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.ErrorHandler`.
|
||||
:obj:`~pyrogram.handlers.MessageHandler`.
|
||||
|
||||
Parameters:
|
||||
errors (:obj:`~Exception`, *optional*):
|
||||
|
|
|
|||
Loading…
Reference in a new issue