mirror of
https://github.com/Sheldan/abstracto-docs.git
synced 2026-01-28 08:38:44 +00:00
Deploying to master from @ Sheldan/abstracto@079436a2b6 🚀
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -442,8 +442,8 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
|
||||
<h1>Abstracto Discord Bot Documentation</h1>
|
||||
<div class="details">
|
||||
<span id="author" class="author">Sheldan https://github.com/Sheldan/abstracto</span><br>
|
||||
<span id="revnumber">version 1.2.6,</span>
|
||||
<span id="revdate">2021/03/29 01:19</span>
|
||||
<span id="revnumber">version 1.2.7,</span>
|
||||
<span id="revdate">2021/04/04 23:52</span>
|
||||
</div>
|
||||
<div id="toc" class="toc">
|
||||
<div id="toctitle">Table of Contents</div>
|
||||
@@ -1255,6 +1255,71 @@ This change takes immediate effect and is only for the current server. Per defau
|
||||
</ul>
|
||||
</div>
|
||||
</dd>
|
||||
<dt class="hdlist1">Creating a profanity group</dt>
|
||||
<dd>
|
||||
<div class="ulist">
|
||||
<ul>
|
||||
<li>
|
||||
<p>Usage: <code>createProfanityGroup <profanityGroupName></code></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Description: Creates a profanity group with the given <code>profanityGroupName</code>. This name must be unique within the server.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</dd>
|
||||
<dt class="hdlist1">Adding a profanity regex to a profanity group</dt>
|
||||
<dd>
|
||||
<div class="ulist">
|
||||
<ul>
|
||||
<li>
|
||||
<p>Usage: <code>addProfanityRegex <profanityGroupName> <profanityName> <regex> [replacement]</code></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Description: Adds a profanity regex identified by <code>profanityName</code> to the profanity group identified by <code>profanityGroupName</code>. The regex to be used is in <code>regex</code>. Depending on how the regex is used, you can define a <code>replacement</code>, with which a found text will be replaced. The <code>profanityName</code> must be unique within the profanity group.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</dd>
|
||||
<dt class="hdlist1">Show the current profanity configuration</dt>
|
||||
<dd>
|
||||
<div class="ulist">
|
||||
<ul>
|
||||
<li>
|
||||
<p>Usage: <code>showProfanityConfig</code></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Description: Shows the current profanity configuration for the current server, including all profanity groups and profanity regex.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</dd>
|
||||
<dt class="hdlist1">Removing a profanity regex from a profanity group</dt>
|
||||
<dd>
|
||||
<div class="ulist">
|
||||
<ul>
|
||||
<li>
|
||||
<p>Usage: <code>removeProfanityRegex <profanityGroupName> <profanityName></code></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Description: Removes the profanity regex identified by <code>profanityName</code> from the profanity group identified by <code>profanityGroupName</code>.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</dd>
|
||||
<dt class="hdlist1">Deleting a profanity group</dt>
|
||||
<dd>
|
||||
<div class="ulist">
|
||||
<ul>
|
||||
<li>
|
||||
<p>Usage: <code>deleteProfanityGroup <profanityGroupName></code></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Description: Deletes the profanity group identified by <code>profanityGroupName</code> and all profanity regexes within.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
@@ -1289,6 +1354,11 @@ These feature modes influence the availability of commands or general behavior o
|
||||
<p>An example of a feature mode is mod mail logging: If the feature mode <code>log</code> of mod mail is disabled, no thread will be logged and the separate command <code>closeNoLog</code> will not be available in the first place, because it will behave the same as the normal <code>close</code> command.
|
||||
If the feature mode is enabled, the messages from the thread are logged in the respective post target and the command will be available.</p>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<div class="title">What is a profanity group?</div>
|
||||
<p>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 another identified. For example a regex group handles the word 'test'. Then a profanity regex is for all lower cases, this regex can be named 'lower', and the regex group is then named 'test'.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
@@ -3390,8 +3460,8 @@ For example if the repost is the second image in a message, a reaction represent
|
||||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-text">
|
||||
Version 1.2.6<br>
|
||||
Last updated 2021-03-29 01:19:39 UTC
|
||||
Version 1.2.7<br>
|
||||
Last updated 2021-04-04 23:52:36 UTC
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user