Browse Source
Add note pointing to discord.AllowedMentions
pull/5894/head
ChristopherJHart
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
0 deletions
-
discord/utils.py
|
|
@ -533,6 +533,12 @@ def escape_mentions(text): |
|
|
|
|
|
|
|
This does not include channel mentions. |
|
|
|
|
|
|
|
.. note:: |
|
|
|
|
|
|
|
For more granular control over what mentions should be escaped |
|
|
|
within messages, refer to the :class:`~discord.AllowedMentions` |
|
|
|
class. |
|
|
|
|
|
|
|
Parameters |
|
|
|
----------- |
|
|
|
text: :class:`str` |
|
|
|