diff options
| author | Rapptz <[email protected]> | 2019-04-06 21:50:23 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-04-06 21:50:56 -0400 |
| commit | 79a8249bc7d34998345fac14da6880975c8d8c94 (patch) | |
| tree | ba8235aa51de351a5cefde27582a46a9c03e1c3d | |
| parent | [commands] Fix HelpCommand.invoked_with when used in events. (diff) | |
| download | discord.py-79a8249bc7d34998345fac14da6880975c8d8c94.tar.xz discord.py-79a8249bc7d34998345fac14da6880975c8d8c94.zip | |
Add note about escape_markdown in Message.clean_content
Fix #1911
| -rw-r--r-- | discord/message.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/discord/message.py b/discord/message.py index d6bf23bf..2d66a478 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 = { |