diff options
author | 2023-02-13 23:57:54 +0000 | |
---|---|---|
committer | 2023-02-13 23:57:54 +0000 | |
commit | 44b2b2ac579129c393cd9ae23b585d95c2a6926c (patch) | |
tree | 5ad37f2372ba5d0d3c061d38c4446044a254315b | |
parent | Merge pull request #2401 from python-discord/legacy_role (diff) | |
parent | Merge branch 'main' into swfarnsworth-modmail-account-mention (diff) |
Merge pull request #2374 from python-discord/swfarnsworth-modmail-account-mention
Make the infraction message mention @ModMail
-rw-r--r-- | bot/exts/moderation/infraction/_utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/moderation/infraction/_utils.py b/bot/exts/moderation/infraction/_utils.py index 2cf7f8efb..c2ef80461 100644 --- a/bot/exts/moderation/infraction/_utils.py +++ b/bot/exts/moderation/infraction/_utils.py @@ -31,12 +31,13 @@ RULES_URL = "https://pythondiscord.com/pages/rules" Infraction = t.Dict[str, t.Union[str, int, bool]] APPEAL_SERVER_INVITE = "https://discord.gg/WXrCJxWBnm" +MODMAIL_ACCOUNT_ID = "683001325440860340" INFRACTION_TITLE = "Please review our rules" INFRACTION_APPEAL_SERVER_FOOTER = f"\nTo appeal this infraction, join our [appeals server]({APPEAL_SERVER_INVITE})." INFRACTION_APPEAL_MODMAIL_FOOTER = ( '\nIf you would like to discuss or appeal this infraction, ' - 'send a message to the ModMail bot.' + f'send a message to the ModMail bot (<@{MODMAIL_ACCOUNT_ID}>).' ) INFRACTION_AUTHOR_NAME = "Infraction information" |