Browse Source

Add note pointing to discord.AllowedMentions

pull/5894/head
ChristopherJHart 5 years ago
committed by GitHub
parent
commit
f308f34db1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      discord/utils.py

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

Loading…
Cancel
Save