diff options
| author | Rapptz <[email protected]> | 2017-08-10 02:46:00 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-08-10 02:46:00 -0400 |
| commit | cb709cc9da4c3f31485a5671aafb72c94fc0ec2b (patch) | |
| tree | e97743ee4ec3569e31247747ec6d4f7b0652402b /docs/logging.rst | |
| parent | Support for discord.Object in Member.remove_roles and Member.add_roles (diff) | |
| download | discord.py-cb709cc9da4c3f31485a5671aafb72c94fc0ec2b.tar.xz discord.py-cb709cc9da4c3f31485a5671aafb72c94fc0ec2b.zip | |
[commands] Fix clean_content converter not properly escaping mentions.
In some cases, the Discord provided role_mentions and mentions array
would be empty, such as wrapping a mention with a backtick or
other frivolous characters. Since we want to completely nullify
mentions, we should not rely on the Discord provided arrays and instead
use and resolve the IDs from the content itself.
Diffstat (limited to 'docs/logging.rst')
0 files changed, 0 insertions, 0 deletions