mirror of
https://github.com/janderedev/automod.git
synced 2024-12-22 10:45:27 +00:00
add tos reminder to ban DM
This commit is contained in:
parent
b99e736e9d
commit
1c162a324f
|
@ -379,6 +379,10 @@ const generateInfractionDMEmbed = (server: Server, serverConfig: ServerConfig, i
|
||||||
? (infraction.expires == Infinity
|
? (infraction.expires == Infinity
|
||||||
? '\n**Ban duration:** Permanent'
|
? '\n**Ban duration:** Permanent'
|
||||||
: `\n**Ban expires** <t:${Math.round(infraction.expires / 1000)}:R>`)
|
: `\n**Ban expires** <t:${Math.round(infraction.expires / 1000)}:R>`)
|
||||||
|
: '') +
|
||||||
|
(infraction.actionType == 'ban'
|
||||||
|
? '\n\n**Reminder:** Circumventing this ban by using another account is a violation of the Revolt [Terms of Service](<https://revolt.chat/terms>) ' +
|
||||||
|
'and may result in your accounts getting suspended from the platform.'
|
||||||
: '')
|
: '')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue