aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/utils.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/discord/utils.py b/discord/utils.py
index efab5908..39e097d5 100644
--- a/discord/utils.py
+++ b/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`