mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-22 00:34:06 +00:00
Add note pointing to discord.AllowedMentions
This commit is contained in:
parent
9d183ecc30
commit
f308f34db1
@ -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`
|
||||
|
Loading…
x
Reference in New Issue
Block a user