Clarified .anti* command help

This commit is contained in:
Toastie 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: params:
- { } - { }
antiraid: 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: ex:
- 5 20 Kick - 5 20 Kick
- 7 9 Ban - 7 9 Ban
@ -2352,7 +2363,12 @@ antiraid:
action: action:
desc: "The punishment action specifies the consequence for users who trigger the anti-raid protection." desc: "The punishment action specifies the consequence for users who trigger the anti-raid protection."
antispam: 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: ex:
- 3 Mute - 3 Mute
- 5 Ban - 5 Ban
@ -2377,7 +2393,12 @@ antispam:
action: action:
desc: "The type of punishment to be applied to the offender." desc: "The type of punishment to be applied to the offender."
antialt: 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: ex:
- 1h Ban - 1h Ban
- 3d Mute 1h - 3d Mute 1h