Browse Source

Add note about escape_markdown in Message.clean_content

Fix #1911
pull/2049/head
Rapptz 6 years ago
parent
commit
79a8249bc7
  1. 6
      discord/message.py

6
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 = {

Loading…
Cancel
Save