diff options
| author | 2022-01-17 19:20:26 +0000 | |
|---|---|---|
| committer | 2022-01-17 19:20:26 +0000 | |
| commit | cb4256f64b728a3bba2651de68a747c9686dac48 (patch) | |
| tree | 0775bd29e7d904d5fbb389301d9304caec546768 | |
| parent | Use codeblock regex from bot-core in snekbox cog (diff) | |
| parent | Merge pull request #2050 from Nipa-Code/fix-hyperlink (diff) | |
Merge branch 'main' into add-bot-core
| -rw-r--r-- | bot/exts/filters/antimalware.py | 10 | 
1 files changed, 2 insertions, 8 deletions
| diff --git a/bot/exts/filters/antimalware.py b/bot/exts/filters/antimalware.py index d727f7940..6cccf3680 100644 --- a/bot/exts/filters/antimalware.py +++ b/bot/exts/filters/antimalware.py @@ -18,14 +18,8 @@ PY_EMBED_DESCRIPTION = (  TXT_LIKE_FILES = {".txt", ".csv", ".json"}  TXT_EMBED_DESCRIPTION = ( -    "**Uh-oh!** It looks like your message got zapped by our spam filter. " -    "We currently don't allow `{blocked_extension}` attachments, " -    "so here are some tips to help you travel safely: \n\n" -    "• If you attempted to send a message longer than 2000 characters, try shortening your message " -    "to fit within the character limit or use a pasting service (see below) \n\n" -    "• If you tried to show someone your code, you can use codeblocks \n(run `!code-blocks` in " -    "{cmd_channel_mention} for more information) or use a pasting service like: " -    f"\n\n{URLs.site_schema}{URLs.site_paste}" +    "You either uploaded a `{blocked_extension}` file or entered a message that was too long. " +    f"Please use our [paste bin]({URLs.site_schema}{URLs.site_paste}) instead."  )  DISALLOWED_EMBED_DESCRIPTION = ( | 
