mirror of
https://github.com/Sheldan/abstracto-docs.git
synced 2026-01-10 01:33:08 +00:00
Deploying to master from @ Sheldan/abstracto@39653574e3 🚀
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.8,</span>
|
||||
<span id="revdate">2021/04/10 22:17</span>
|
||||
<span id="revnumber">version 1.2.9,</span>
|
||||
<span id="revdate">2021/04/24 20:17</span>
|
||||
</div>
|
||||
<div id="toc" class="toc">
|
||||
<div id="toctitle">Table of Contents</div>
|
||||
@@ -1320,6 +1320,111 @@ This change takes immediate effect and is only for the current server. Per defau
|
||||
</ul>
|
||||
</div>
|
||||
</dd>
|
||||
<dt class="hdlist1">Showing the uptime of the bot</dt>
|
||||
<dd>
|
||||
<div class="ulist">
|
||||
<ul>
|
||||
<li>
|
||||
<p>Usage: <code>uptime</code></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Shows the uptime and start time of the bot instance.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</dd>
|
||||
<dt class="hdlist1">Adding a command to a channel group</dt>
|
||||
<dd>
|
||||
<div class="ulist">
|
||||
<ul>
|
||||
<li>
|
||||
<p>Usage: <code>addCommandToChannelGroup <channelGroupName> <commandName></code></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Description: Adds the command <code>commandName</code> to the channel group <code>channelGroupName</code>. This can be used to add the command to a channel group which can disable the command or set a cooldown on the command.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</dd>
|
||||
<dt class="hdlist1">Disabling a channel group</dt>
|
||||
<dd>
|
||||
<div class="ulist">
|
||||
<ul>
|
||||
<li>
|
||||
<p>Usage: <code>disableChannelGroup <channelGroupName></code></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Description: Disables the effect the channel group <code>channelGroupName</code> has.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</dd>
|
||||
<dt class="hdlist1">Enabling a channel group</dt>
|
||||
<dd>
|
||||
<div class="ulist">
|
||||
<ul>
|
||||
<li>
|
||||
<p>Usage: <code>enableChannelGroup <channelGroupName></code></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Description: Enables the effect the channel group <code>channelGroupName</code> has.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</dd>
|
||||
<dt class="hdlist1">Removing a command from a channel group</dt>
|
||||
<dd>
|
||||
<div class="ulist">
|
||||
<ul>
|
||||
<li>
|
||||
<p>Usage: <code>removeCommandFromChannelGroup <channelGroupName> <commandName></code></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Description: Removes the command <code>commandName</code> from the channel group <code>channelGroupName</code>. This can be used to remove the command from a channel group which can enable the command or remove a cooldown on the command.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</dd>
|
||||
<dt class="hdlist1">Clearing cooldowns</dt>
|
||||
<dd>
|
||||
<div class="ulist">
|
||||
<ul>
|
||||
<li>
|
||||
<p>Usage: <code>clearCommandCoolDowns</code></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Description: Resets all currently active cooldowns of the current server, so every command can be used again.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</dd>
|
||||
<dt class="hdlist1">Setting channel and member cooldowns in a channel group</dt>
|
||||
<dd>
|
||||
<div class="ulist">
|
||||
<ul>
|
||||
<li>
|
||||
<p>Usage: <code>commandCoolDownChannelGroup <channelGroupName> <channelDuration> <memberDuration></code></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Description: Sets the cooldown of the commands of the channel group <code>channelGroupName</code> to <code>channelDuration</code> for the channel group
|
||||
and <code>memberDuration</code> for each member.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</dd>
|
||||
<dt class="hdlist1">Setting the global cooldown for a command</dt>
|
||||
<dd>
|
||||
<div class="ulist">
|
||||
<ul>
|
||||
<li>
|
||||
<p>Usage: <code>commandCoolDownServer <command> <duration></code></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Description: Sets the cooldown for command <code>command</code> to <code>duration</code> for the whole server.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
@@ -1359,6 +1464,12 @@ If the feature mode is enabled, the messages from the thread are logged in the r
|
||||
<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 class="paragraph">
|
||||
<div class="title">How do multiple cooldowns interact</div>
|
||||
<p>If there are multiple cooldowns on a command active, the longest cooldown will decide the cool down.
|
||||
A channel cannot be in multiple cool down channel groups and this is actively enforced by the command.
|
||||
If a cooldown is active, an error message is shown with the duration after which the command can be used again.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
@@ -3389,6 +3500,19 @@ For example if the repost is the second image in a message, a reaction represent
|
||||
</ul>
|
||||
</div>
|
||||
</dd>
|
||||
<dt class="hdlist1">Add text as reactions to another message</dt>
|
||||
<dd>
|
||||
<div class="ulist">
|
||||
<ul>
|
||||
<li>
|
||||
<p>Usage: <code>react <message> <text></code></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Description: Takes the <code>text</code>, converts it into unicode characters, while trying to avoid duplicates, and adds the reactions to the given <code>message</code>. If it was not possible to avoid duplicates, or the overall reactions (including already existing reactions) would go over the Discord limit, this command will show an error message, without adding any reaction. Some characters can be replaced with one unicode character, for example 'SOS'.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
@@ -3473,8 +3597,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.8<br>
|
||||
Last updated 2021-04-10 22:16:43 UTC
|
||||
Version 1.2.9<br>
|
||||
Last updated 2021-04-24 20:16:42 UTC
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user