Clarified .anti* command help

This commit is contained in:
Toastie (DCS Team) 2024-08-23 19:25:40 +12:00
parent 851093197c
commit f6d1cf076c
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4

View file

@ -2329,7 +2329,18 @@ resetperms:
params:
- { }
antiraid:
desc: 'Sets an anti-raid protection on the server. Provide no parameters to disable. First parameter is number of people which will trigger the protection. Second parameter is a time interval in which that number of people needs to join in order to trigger the protection, and third parameter is punishment for those people. You can specify an additional time argument to do a timed punishment for actions which support it (Ban, Mute, etc) up to 24h. Available punishments: Ban, Kick, Softban, Mute, VoiceMute, ChatMute, RemoveRoles, AddRole, Warn, TimeOut'
desc: |-
Sets an anti-raid protection on the server.
First parameter is number of people which will trigger the protection.
Second parameter is a time interval in which that number of people needs to join in order to trigger the protection.
Third parameter is punishment for those people.
Available punishments: Ban, Kick, Softban, Mute, VoiceMute, ChatMute, RemoveRoles, AddRole, Warn, TimeOut
You can specify an additional time argument to do a timed punishment for actions which support it (Ban, Mute, etc) up to 24h.
Provide no parameters to disable.
ex:
- 5 20 Kick
- 7 9 Ban
@ -2352,7 +2363,12 @@ antiraid:
action:
desc: "The punishment action specifies the consequence for users who trigger the anti-raid protection."
antispam:
desc: 'Stops people from repeating same message X times in a row. Provide no parameters to disable. You can specify to either mute, kick or ban the offenders. You can specify an additional time argument to do a timed punishment for actions which support it (Ban, Mute, etc) up to 24h. Max message count is 10. Available punishments: Ban, Kick, Softban, Mute, VoiceMute, ChatMute, AddRole, RemoveRoles, Warn, TimeOut'
desc: |-
Applies a Punishment to people who repeat the same message X times in a row.
Available Punishments are: Ban, Kick, Softban, Mute, VoiceMute, ChatMute, RemoveRoles, AddRole, Warn, TimeOut
You can specify an additional time argument to do a timed punishment for actions which support it (Ban, Mute, etc) up to 24h.
Max message count is 10.
Provide no parameters to disable.
ex:
- 3 Mute
- 5 Ban
@ -2377,7 +2393,12 @@ antispam:
action:
desc: "The type of punishment to be applied to the offender."
antialt:
desc: Applies a punishment action to any user whose account is younger than the specified threshold. Specify time after the punishment to have a timed punishment (not all punishments support timers).
desc: |-
Applies a punishment action to any user whose account is younger than the specified threshold.
Available Punishments are: Ban, Kick, Softban, Mute, VoiceMute, ChatMute, RemoveRoles, AddRole, Warn, TimeOut
You can specify an additional time argument to do a timed punishment for actions which support it (Ban, Mute, etc) up to 24h.
Max message count is 10.
Provide no parameters to disable.
ex:
- 1h Ban
- 3d Mute 1h