mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-08 07:54:52 +00:00
Update invite link regex pattern
This commit is contained in:
parent
b45f2f4595
commit
1d25b84cde
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ class Client:
|
||||||
Thread pool size for handling incoming updates. Defaults to 4.
|
Thread pool size for handling incoming updates. Defaults to 4.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
INVITE_LINK_RE = re.compile(r"^(?:https?://)?(?:t\.me/joinchat/)?(.+)$")
|
INVITE_LINK_RE = re.compile(r"^(?:https?://)?(?:t\.me/joinchat/)?([\w-]+)$")
|
||||||
DIALOGS_AT_ONCE = 100
|
DIALOGS_AT_ONCE = 100
|
||||||
UPDATES_WORKERS = 2
|
UPDATES_WORKERS = 2
|
||||||
DOWNLOAD_WORKERS = 1
|
DOWNLOAD_WORKERS = 1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue