aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Mark <[email protected]>2019-12-03 21:27:43 -0800
committerGravatar GitHub <[email protected]>2019-12-03 21:27:43 -0800
commit3724fb6ee4c629ea26ce3088ec7bce1403e52026 (patch)
tree133645a04761ba5731d653749e71dc63bf11f9a3
parentMerge pull request #672 from python-discord/enhance-timedelta-for-infraction-... (diff)
parentAntimalware: fix paste service URL showing replacement field (diff)
Merge pull request #678 from python-discord/antimalware-paste-url
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)):