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.
|
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
|
Parameters
|
||||||
-----------
|
-----------
|
||||||
text: :class:`str`
|
text: :class:`str`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user