diff options
Diffstat (limited to 'discord/utils.py')
| -rw-r--r-- | discord/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/utils.py b/discord/utils.py index 24428c7a..b99bd70b 100644 --- a/discord/utils.py +++ b/discord/utils.py @@ -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) |