From 96ef420f282de80802383624fd19a43a43b1b1f1 Mon Sep 17 00:00:00 2001 From: git-bruh Date: Mon, 8 Feb 2021 14:51:05 +0530 Subject: [PATCH] dont escape <,> --- main.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/main.py b/main.py index 80b9ecd..396fd70 100644 --- a/main.py +++ b/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}"