mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-08 16:04:51 +00:00
Compare commits
2 commits
9616ee73d6
...
7d5eba7221
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7d5eba7221 | ||
|
|
98f4e9b612 |
2 changed files with 1 additions and 2 deletions
|
|
@ -26,7 +26,6 @@ import platform
|
||||||
import re
|
import re
|
||||||
import shutil
|
import shutil
|
||||||
import sys
|
import sys
|
||||||
from base64 import b64encode
|
|
||||||
from concurrent.futures.thread import ThreadPoolExecutor
|
from concurrent.futures.thread import ThreadPoolExecutor
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
from hashlib import sha256
|
from hashlib import sha256
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ class OnError:
|
||||||
"""Decorator for handling new errors.
|
"""Decorator for handling new errors.
|
||||||
|
|
||||||
This does the same thing as :meth:`~pyrogram.Client.add_handler` using the
|
This does the same thing as :meth:`~pyrogram.Client.add_handler` using the
|
||||||
:obj:`~pyrogram.handlers.MessageHandler`.
|
:obj:`~pyrogram.handlers.ErrorHandler`.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
errors (:obj:`~Exception`, *optional*):
|
errors (:obj:`~Exception`, *optional*):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue