aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-12-03 18:33:36 -0800
committerGravatar MarkKoz <[email protected]>2019-12-03 18:33:36 -0800
commita92186f7218faf48b1ceb3b9f516b29d40e6efaf (patch)
tree87f2d5186dbf0bddbc47d0ecd90d9fd7757df2e6
parentAllow snekbox in esoteric-python channel (#675) (diff)
Antimalware: fix paste service URL showing replacement field
-rw-r--r--bot/cogs/antimalware.py2
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)):