diff options
| -rw-r--r-- | bot/cogs/snekbox.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bot/cogs/snekbox.py b/bot/cogs/snekbox.py index 6bc333ff6..aa467b2bb 100644 --- a/bot/cogs/snekbox.py +++ b/bot/cogs/snekbox.py @@ -81,6 +81,9 @@ class Snekbox: if "<@" in output: output = output.replace("<@", "<@\u200B") # Zero-width space + if "<!@" in output: + output = output.replace("<!@", "<!@\u200B") # Zero-width space + if ESCAPE_REGEX.findall(output): output = "Code block escape attempt detected; will not output result" else: |