Skip to content

Commit

Permalink
[AB-xxx] adding more documentation in the moderation area
Browse files Browse the repository at this point in the history
removing not used feature modes from configuration
  • Loading branch information
Sheldan committed Apr 19, 2024
1 parent 43c5d04 commit b698114
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,10 @@ abstracto.postTargets.unBanLog.name=unBanLog
abstracto.postTargets.muteLog.name=muteLog
abstracto.postTargets.decayLog.name=decayLog

abstracto.featureModes.banCommandLogging.featureName=moderation
abstracto.featureModes.banCommandLogging.mode=banCommandLogging
abstracto.featureModes.banCommandLogging.enabled=true

abstracto.featureModes.unBanCommandLogging.featureName=moderation
abstracto.featureModes.unBanCommandLogging.mode=unBanCommandLogging
abstracto.featureModes.unBanCommandLogging.enabled=true

abstracto.featureModes.warnDecayLogging.featureName=warnings
abstracto.featureModes.warnDecayLogging.mode=warnDecayLogging
abstracto.featureModes.warnDecayLogging.enabled=true

abstracto.featureModes.infractionReporting.featureName=infractions
abstracto.featureModes.infractionReporting.mode=infractionReporting
abstracto.featureModes.infractionReporting.enabled=true

abstracto.featureModes.anonymousReportReactions.featureName=reportReactions
abstracto.featureModes.anonymousReportReactions.mode=anonymousReportReactions
abstracto.featureModes.anonymousReportReactions.enabled=false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ An example of a feature mode is mod mail logging: If the feature mode `log` of m
If the feature mode is enabled, the messages from the thread are logged in the respective post target and the command will be available.

.What is a profanity group?
[[profanitygroups,Profanity groups]]
A profanity group is just a container for various regexes. They are grouped together in order to be identified together and kept organized.
Each profanity regex within that group has an additional identifier. For example a profanity group can be used to detect a particular word, but there are different profanities which would detect various possibilities for that one word. This helps reduce the complexity of individual regexes.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,21 +98,26 @@ Show the currently configured experience roles in the server::
Toggle the level up notification::
* Usage: `expLevelUpNotification <newValue>`
* Slash command: `experience explevelupnotification`
* Description: Toggles for the executing user, if they receive level up notifications. Only `true` really enables the notification, any other value disables the notification. This command requires the feature mode `levelUpNotification`.
* Description: Toggles for the executing user, if they receive level up notifications. Only `true` really enables the notification, any other value disables the notification.
* Mode Restriction: This command is only available when the feature mode `levelUpNotification` is enabled.

Add a level action::
* Usage: `addLevelAction <action> <level> <parameter> [member]`
* Slash command: `experienceconfig levelAction add`
* Description: Adds an `action` to be executed at `level` with the given `parameter`. If a `member` is provided, the action is restricted to be executed for only this member. The parameters `action` uses auto complete to show the currently available actions. The combination of `action`, `level` and `member` (if provided), is considered unique. If such a combination already exists, an error is shown. Each action then requires a different `parameter` passed. The actions `add_member_to_channel_above_level` and `remove_member_from_channel_above_level` require a channel mention/name/id, and `add_role_above_level` and `remove_role_above_level` require a role mention/name/id.
* Mode Restriction: This command is only available when the feature mode `levelAction` is enabled.

Viewing the current configured level actions::
* Usage: `showLevelActions`
* Slash command: `levelAction show`
* Description: Shows the currently configured level actions, this includes the level they are active at, the type of action and if
* Mode Restriction: This command is only available when the feature mode `levelAction` is enabled.

Removing a level action::
* Usage: `removeLevelAction <action> <level> [member]`
* Slash command: `experienceconfig levelAction remove`
* Description: Removes an action to be executed at a certain level. Such an action is identified by a combination of `action`, `level` and optionally `member`. If no identifiable combination is found, an error is shown.
* Mode Restriction: This command is only available when the feature mode `levelAction` is enabled.

==== Level actions

Expand Down

0 comments on commit b698114

Please sign in to comment.