Fix references to snowflakes being max 21 long
This commit is contained in:
@ -544,4 +544,4 @@ def escape_mentions(text):
|
||||
:class:`str`
|
||||
The text with the mentions removed.
|
||||
"""
|
||||
return re.sub(r'@(everyone|here|[!&]?[0-9]{17,21})', '@\u200b\\1', text)
|
||||
return re.sub(r'@(everyone|here|[!&]?[0-9]{17,20})', '@\u200b\\1', text)
|
||||
|
Reference in New Issue
Block a user