aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-06-09 13:37:25 -0700
committerGravatar MarkKoz <[email protected]>2019-06-09 13:37:25 -0700
commit50283627952b79d80c276d67049f9eeb2e68c73e (patch)
treef6d55545e6224d12bdfa5561db74ddc48467d8b9
parentMerge pull request #368 from python-discord/precommit-fix (diff)
Add appeals e-mail to infraction DMs
-rw-r--r--bot/cogs/moderation.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bot/cogs/moderation.py b/bot/cogs/moderation.py
index 5d8aa0217..eff002cba 100644
--- a/bot/cogs/moderation.py
+++ b/bot/cogs/moderation.py
@@ -1302,6 +1302,9 @@ class Moderation(Scheduler):
embed.title = f"Please review our rules over at {RULES_URL}"
embed.url = RULES_URL
+ if infr_type == "Ban":
+ embed.set_footer(text="To appeal this infraction, send an e-mail to [email protected]")
+
return await self.send_private_embed(user, embed)
async def notify_pardon(