mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-05 03:22:29 +00:00
Whitelist generator's mismatching ID and ya username
This commit is contained in:
@@ -41,7 +41,7 @@ USERNAME_RE = re.compile(
|
||||
# See https://telegram.org/blog/inline-bots#how-does-it-work
|
||||
VALID_USERNAME_RE = re.compile(
|
||||
r'^([a-z][\w\d]{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|ya)$',
|
||||
re.IGNORECASE
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user