mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-16 19:41:07 +03:00
parent
a93abed737
commit
edf325d580
|
@ -284,7 +284,7 @@ class UsernameInvalidError(BadRequestError):
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
super(Exception, self).__init__(
|
super(Exception, self).__init__(
|
||||||
self,
|
self,
|
||||||
'Unacceptable username. Must match r"[a-zA-Z][\w\d]{4,32}"'
|
'Unacceptable username. Must match r"[a-zA-Z][\w\d]{4,31}"'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user