diff options
author | 2023-01-01 13:27:14 -0500 | |
---|---|---|
committer | 2023-01-01 13:27:14 -0500 | |
commit | ecb835a0607f9a4929d2690aa01402c196c7db9f (patch) | |
tree | 9246d1527eb23ca58d6fef7f498392bf7c28c8a9 | |
parent | Link previous nomination threads to a user nomination's history (#2373) (diff) |
Make the infraction message mention @ModMail
Previously, the footer for non-ban infraction messages would say to DM the ModMail bot. This commit makes "ModMail" a clickable mention of the bot.
-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..f63989265 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 <@{MODMAIL_ACCOUNT_ID}>.' ) INFRACTION_AUTHOR_NAME = "Infraction information" |