From 1c162a324f4c2346e0f044447885435842e150bd Mon Sep 17 00:00:00 2001 From: Lea Date: Thu, 29 Dec 2022 22:30:07 +0100 Subject: [PATCH] add tos reminder to ban DM --- bot/src/bot/util.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bot/src/bot/util.ts b/bot/src/bot/util.ts index 79488cf..3841796 100644 --- a/bot/src/bot/util.ts +++ b/bot/src/bot/util.ts @@ -379,6 +379,10 @@ const generateInfractionDMEmbed = (server: Server, serverConfig: ServerConfig, i ? (infraction.expires == Infinity ? '\n**Ban duration:** Permanent' : `\n**Ban expires** `) + : '') + + (infraction.actionType == 'ban' + ? '\n\n**Reminder:** Circumventing this ban by using another account is a violation of the Revolt [Terms of Service]() ' + + 'and may result in your accounts getting suspended from the platform.' : '') }