diff options
author | 2019-12-03 18:33:36 -0800 | |
---|---|---|
committer | 2019-12-03 18:33:36 -0800 | |
commit | a92186f7218faf48b1ceb3b9f516b29d40e6efaf (patch) | |
tree | 87f2d5186dbf0bddbc47d0ecd90d9fd7757df2e6 | |
parent | Allow snekbox in esoteric-python channel (#675) (diff) |
Antimalware: fix paste service URL showing replacement field
-rw-r--r-- | bot/cogs/antimalware.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/antimalware.py b/bot/cogs/antimalware.py index 745dd8082..602819191 100644 --- a/bot/cogs/antimalware.py +++ b/bot/cogs/antimalware.py @@ -26,7 +26,7 @@ class AntiMalware(Cog): if filename.endswith('.py'): embed.description = ( f"It looks like you tried to attach a Python file - please " - f"use a code-pasting service such as {URLs.paste_service}" + f"use a code-pasting service such as {URLs.site_schema}{URLs.site_paste}" ) break # Other detections irrelevant because we prioritize the .py message. if not filename.endswith(tuple(AntiMalwareConfig.whitelist)): |