Add note pointing to discord.AllowedMentions

This commit is contained in:
ChristopherJHart 2020-10-04 22:52:00 -04:00 committed by GitHub
parent 9d183ecc30
commit f308f34db1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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`