diff --git a/abstracto-modules/moderation/src/main/resources/default/command/honeypotBan/honeypotBan_response_embed.ftl b/abstracto-modules/moderation/src/main/resources/default/command/honeypotBan/honeypotBan_response_embed.ftl new file mode 100644 index 00000000..28073841 --- /dev/null +++ b/abstracto-modules/moderation/src/main/resources/default/command/honeypotBan/honeypotBan_response_embed.ftl @@ -0,0 +1,9 @@ +{ + "embeds": [ + { + <#include "moderation_action_color">, + <#assign bannedMemberCount=bannedMemberCount> + "description": "<@safe_include "honeypotBan_response_text"/>" + } + ] +} \ No newline at end of file diff --git a/translations/moderation/src/main/resources/default/commands/honeypotBan/help/honeypotBan_description.ftl b/translations/moderation/src/main/resources/default/commands/honeypotBan/help/honeypotBan_description.ftl new file mode 100644 index 00000000..57fc8bb1 --- /dev/null +++ b/translations/moderation/src/main/resources/default/commands/honeypotBan/help/honeypotBan_description.ftl @@ -0,0 +1 @@ +Bans all users that currently have the honeypot role \ No newline at end of file diff --git a/translations/moderation/src/main/resources/default/commands/honeypotBan/help/honeypotBan_long_help.ftl b/translations/moderation/src/main/resources/default/commands/honeypotBan/help/honeypotBan_long_help.ftl new file mode 100644 index 00000000..e4c954f7 --- /dev/null +++ b/translations/moderation/src/main/resources/default/commands/honeypotBan/help/honeypotBan_long_help.ftl @@ -0,0 +1,2 @@ +Bans all users that still have the configured honeypot role and are longer member than the provided duration. +If no duration is provided, the content of config key `honeypotIgnoredJoinDurationSeconds` will be used \ No newline at end of file diff --git a/translations/moderation/src/main/resources/default/commands/honeypotBan/help/honeypotBan_parameter_duration.ftl b/translations/moderation/src/main/resources/default/commands/honeypotBan/help/honeypotBan_parameter_duration.ftl new file mode 100644 index 00000000..70fb9666 --- /dev/null +++ b/translations/moderation/src/main/resources/default/commands/honeypotBan/help/honeypotBan_parameter_duration.ftl @@ -0,0 +1 @@ +Only users older than this duration are banned. Leave empty to use configured value. \ No newline at end of file diff --git a/translations/moderation/src/main/resources/default/commands/honeypotBan/honeypotBan_response_text.ftl b/translations/moderation/src/main/resources/default/commands/honeypotBan/honeypotBan_response_text.ftl new file mode 100644 index 00000000..7108fd07 --- /dev/null +++ b/translations/moderation/src/main/resources/default/commands/honeypotBan/honeypotBan_response_text.ftl @@ -0,0 +1 @@ +${bannedMemberCount} members who had the honeypot role have been banned. \ No newline at end of file