mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 09:26:37 +03:00
parent
a93abed737
commit
edf325d580
|
@ -284,7 +284,7 @@ class UsernameInvalidError(BadRequestError):
|
|||
def __init__(self, **kwargs):
|
||||
super(Exception, self).__init__(
|
||||
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