New option for the moderation bot: forbid duplicate messages (#516).

This commit is contained in:
John Livingston
2024-09-10 18:59:56 +02:00
parent 651641f63c
commit 5225257bb5
11 changed files with 227 additions and 10 deletions

View File

@ -662,3 +662,11 @@ livechat_configuration_channel_special_chars_tolerance_label: Tolerance
livechat_configuration_channel_special_chars_tolerance_desc: Number of special characters to accept before deleting messages.
feature_comes_with: This feature comes with the livechat plugin version X.X.X.
livechat_configuration_channel_no_duplicate_label: "No duplicate message"
livechat_configuration_channel_no_duplicate_desc: |
By enabling this options, the moderation bot will automatically moderate duplicate messages.
That means if a user send the same message twice within X seconds, the second message will be deleted.
livechat_configuration_channel_no_duplicate_delay_label: Time interval
livechat_configuration_channel_no_duplicate_delay_desc: |
The interval, in seconds, during which a user can't send again the same message.