mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-07-07 02:57:20 +00:00
style: code review
Suggestions that were not automatically resolvable.
This commit is contained in:
parent
4e6f9d576e
commit
40b5c9e48e
1 changed files with 27 additions and 24 deletions
|
@ -13,7 +13,8 @@
|
||||||
plugin. To best use this guide, read the default configuration of the
|
plugin. To best use this guide, read the default configuration of the
|
||||||
Mod actions plugin alongside this. This plugin does
|
Mod actions plugin alongside this. This plugin does
|
||||||
<strong>not</strong> cover muting members, please see the
|
<strong>not</strong> cover muting members, please see the
|
||||||
<router-link to="/docs/plugins/mutes">Mutes</router-link> plugin for that.
|
<router-link to="/docs/plugins/mutes">Mutes</router-link>
|
||||||
|
plugin for that.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Please ensure you understand how
|
Please ensure you understand how
|
||||||
|
@ -21,7 +22,7 @@
|
||||||
configuration</router-link> and
|
configuration</router-link> and
|
||||||
<router-link to="/docs/configuration/permissions">plugin
|
<router-link to="/docs/configuration/permissions">plugin
|
||||||
permissions</router-link> work before reading this guide since
|
permissions</router-link> work before reading this guide since
|
||||||
the configs defined here rely on your these concepts.
|
the configs defined here rely on these concepts.
|
||||||
</p>
|
</p>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
@ -78,31 +79,33 @@
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h3>Summary Example</h3>
|
<h3>Summary Example</h3>
|
||||||
Employing what we have learnt so far, we can write a configuration that:
|
<p>
|
||||||
<ul>
|
Employing what we have learnt so far, we can write a configuration that:
|
||||||
<li>Alerts members of their warns in a channel, instead of DMs.</li>
|
<ul>
|
||||||
<li>Alerts members of kicks and bans in their DMs.</li>
|
<li>Alerts members of their warns in a channel, instead of DMs.</li>
|
||||||
<li>Makes use of multi-line strings to prepare a tidy message.</li>
|
<li>Alerts members of kicks and bans in their DMs.</li>
|
||||||
<li>Includes the remaining ban time if a ban was temporary.</li>
|
<li>Makes use of multi-line strings to prepare a tidy message.</li>
|
||||||
</ul>
|
<li>Includes the remaining ban time if a ban was temporary.</li>
|
||||||
<CodeBlock code-lang="yaml" trim="start">
|
</ul>
|
||||||
plugins:
|
<CodeBlock code-lang="yaml" trim="start">
|
||||||
mod_actions:
|
plugins:
|
||||||
config:
|
mod_actions:
|
||||||
dm_on_warn: false
|
config:
|
||||||
message_on_warn: true
|
dm_on_warn: false
|
||||||
message_channel: "PRETEND-CHANNEL-ID"
|
message_on_warn: true
|
||||||
|
message_channel: "PRETEND-CHANNEL-ID"
|
||||||
|
|
||||||
dm_on_kick: true
|
dm_on_kick: true
|
||||||
|
|
||||||
dm_on_ban: true
|
dm_on_ban: true
|
||||||
tempban_message: |-
|
tempban_message: |-
|
||||||
Dear {user.username},
|
Dear {user.username},
|
||||||
|
|
||||||
As a result of {reason}, you have been banned from {guildName}
|
As a result of {reason}, you have been banned from {guildName}
|
||||||
for {banTime}. We welcome you back provided you do not do this
|
for {banTime}. We welcome you back provided you do not do this
|
||||||
again.
|
again.
|
||||||
</CodeBlock>
|
</CodeBlock>
|
||||||
|
</p>
|
||||||
|
|
||||||
<h2>Alerts</h2>
|
<h2>Alerts</h2>
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue