[AB-217] adding profanity regex related templates

This commit is contained in:
Sheldan
2021-04-04 18:05:16 +02:00
parent 33daa5620e
commit ea02284189
31 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1 @@
Creates a profanity regex with optional replacement in a profanity group

View File

@@ -0,0 +1,3 @@
This command can be used to create a profanity regex which can be used to detect and replace profanities (or any text).
A profanity regex consists of a profanity name (to identify it), a [regex](https://docs.oracle.com/javase/tutorial/essential/regex/) and an optional replacement.
The name of a regex is unique within its profanity group.

View File

@@ -0,0 +1 @@
The name of the profanity group this profanity regex should be added to

View File

@@ -0,0 +1 @@
The regex which should find the words to replace

View File

@@ -0,0 +1 @@
The optional replacement string, if not provided, found text will be replaced with ""

View File

@@ -0,0 +1,2 @@
This command can be used to create a profanity group. This profanity group can then be used to group profanity regexes together.
The name needs to be unique per server and deleting the group deletes all of the profanities in this group.

View File

@@ -0,0 +1 @@
The name which should identify this profanity group on this server

View File

@@ -0,0 +1 @@
Deletes the profanity group and all the profanity regexes which are associated with it.

View File

@@ -0,0 +1 @@
Deletes a profanity regex in a specified profanity group identified by its name.

View File

@@ -0,0 +1 @@
The name of the profanity group in which the profanity regex to delete is in

View File

@@ -0,0 +1 @@
Shows an overview about the current profanity check configuration

View File

@@ -0,0 +1 @@
This command is used to show the profanity groups and the profanity regexes in this server.

View File

@@ -0,0 +1 @@
Profanity group: ${profanityGroupName}

View File

@@ -0,0 +1 @@
${profanityRegexName}: `${profanityRegex}` <#if profanityReplacement??>replaced with ${profanityReplacement}</#if>

View File

@@ -0,0 +1 @@
Profanity group exists already.

View File

@@ -0,0 +1 @@
Profanity regex already exists