mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-03-24 05:39:44 +00:00
[AB-84] adding profanity filter with different feature modes
react command: adding additional mapping for character r
This commit is contained in:
@@ -13,7 +13,7 @@ Help::
|
||||
This information includes a description and the available commands of this module. If the provided parameter matches a command name, information about this command is displayed.
|
||||
The module matching takes precedence over command matching.
|
||||
This information includes the a short description, a more detailed description, aliases (if any), parameters (if any), which roles are allowed to execute the command,
|
||||
or if it is not restricted and which roles are immune against the command.
|
||||
or if it is not restricted and which effects a command has.
|
||||
Changing the system configuration::
|
||||
* Usage `setConfig <key> <value>`
|
||||
* Description: Changes the value of this configuration identified by `key` to `value`. Some of these configurations have separate commands, but this works in general.
|
||||
|
||||
@@ -198,4 +198,30 @@ Showing the tracked filtered invites::
|
||||
Remove all or individual invites from the tracked filtered invites::
|
||||
* Usage: `removeTrackedInviteLinks [invite]`
|
||||
* Description: Removes the stored statistic for the given `invite`. In case `invite` is not given, it will delete all tracked filtered invites from the server.
|
||||
* Mode Restriction: This command is only available when the feature mode `trackUses` is enabled.
|
||||
* Mode Restriction: This command is only available when the feature mode `trackUses` is enabled.
|
||||
|
||||
=== Profanity filter
|
||||
|
||||
Feature key `profanityFilter`
|
||||
|
||||
This functionality provides the ability to automatically delete any detected profanities. These profanities are configured via the profanity groups and profanity regexes. Every group in these groups are active and every profanity regex will be evaluated and (depending on the feature mode) reported to be voted on.
|
||||
The uses of profanities can be tracked and a command is available to show the profanities for a user.
|
||||
|
||||
==== Post targets
|
||||
`profanityQueue`:: target for reports to be voted on - if the feature mode `filterNotifications` is enabled.
|
||||
|
||||
==== Feature modes
|
||||
`autoDeleteProfanities`:: if enabled, each detected profanity will be deleted immediately. Disabled by default.
|
||||
`profanityReport`:: if enabled, sends a notification to the `profanityQueue` post target to notify about a detected profanity. Enabled by default.
|
||||
`profanityVote`:: if enabled, sends a notification to the `profanityQueue` post target to notify about a detected profanity to be voted on. Requires feature mode `profanityReport` to be enabled. Enabled by default.
|
||||
`autoDeleteAfterVote`:: if enabled, after a profanity vote has reached the threshold (system config key `profanityVotes`), depending on the outcome, it will be deleted. Requires feature mode `profanityVote` to be enabled. Enabled by default.
|
||||
`trackProfanities`:: if enabled, the command `profanities` is available to show the profanities of a member. Requires feature mode `profanityVote` to be enabled. Enabled by default.
|
||||
|
||||
==== Emotes
|
||||
* `profanityFilterAgreeEmote` reaction emote to indicate agreement about a reported profanity
|
||||
* `profanityFilterDisagreeEmote` reaction emote to indicate disagreement about a reported profanity
|
||||
|
||||
==== Commands
|
||||
Show the profanities of a member::
|
||||
* Usage `profanities <member>`
|
||||
* Description: Shows the true and false positive profanities of the given member. Also, if there any, shows the recent true positive reports.
|
||||
Reference in New Issue
Block a user