mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-31 10:19:48 +03:00
parent
2c9d43d600
commit
55e6c76426
|
@ -67,7 +67,7 @@ TG_JOIN_RE = re.compile(
|
|||
# See https://telegram.org/blog/inline-bots#how-does-it-work
|
||||
VALID_USERNAME_RE = re.compile(
|
||||
r'^([a-z](?:(?!__)\w){3,30}[a-z\d]'
|
||||
r'|gif|vid|pic|bing|wiki|imdb|bold|vote|like|coub)$',
|
||||
r'|gif|vid|pic|bing|wiki|imdb|bold|vote|like|coub|replies)$',
|
||||
re.IGNORECASE
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user