diff options
| author | 2019-06-09 13:37:25 -0700 | |
|---|---|---|
| committer | 2019-06-09 13:37:25 -0700 | |
| commit | 50283627952b79d80c276d67049f9eeb2e68c73e (patch) | |
| tree | f6d55545e6224d12bdfa5561db74ddc48467d8b9 | |
| parent | Merge pull request #368 from python-discord/precommit-fix (diff) | |
Add appeals e-mail to infraction DMs
| -rw-r--r-- | bot/cogs/moderation.py | 3 |
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( |