dont escape <,>
This commit is contained in:
parent
9936b5cec8
commit
96ef420f28
1 changed files with 0 additions and 4 deletions
4
main.py
4
main.py
|
@ -355,10 +355,6 @@ class DiscordClient(discord.ext.commands.Bot):
|
|||
# Replace emote IDs with names.
|
||||
content = re.sub(regex, r":\g<1>:", content)
|
||||
|
||||
# Escape stuff
|
||||
for replace in ("<", ">"):
|
||||
content = content.replace(replace, f"\\{replace}")
|
||||
|
||||
# Append attachments to message.
|
||||
for attachment in message.attachments:
|
||||
content += f"\n{attachment.url}"
|
||||
|
|
Loading…
Reference in a new issue