From 79a8249bc7d34998345fac14da6880975c8d8c94 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 6 Apr 2019 21:50:23 -0400 Subject: [PATCH] Add note about escape_markdown in Message.clean_content Fix #1911 --- discord/message.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/discord/message.py b/discord/message.py index d6bf23bf5..2d66a478f 100644 --- a/discord/message.py +++ b/discord/message.py @@ -406,6 +406,12 @@ class Message: This will also transform @everyone and @here mentions into non-mentions. + + .. note:: + + This *does not* escape markdown. If you want to escape + markdown then use :func:`utils.escape_markdown` along + with this function. """ transformations = {