aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-08-10 02:46:00 -0400
committerRapptz <[email protected]>2017-08-10 02:46:00 -0400
commitcb709cc9da4c3f31485a5671aafb72c94fc0ec2b (patch)
treee97743ee4ec3569e31247747ec6d4f7b0652402b /examples
parentSupport for discord.Object in Member.remove_roles and Member.add_roles (diff)
downloaddiscord.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 'examples')
0 files changed, 0 insertions, 0 deletions