3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

Fix <ul> inside <p> warning

This commit is contained in:
TheKodeToad 2025-03-13 01:28:54 +00:00
parent 037107bbd0
commit 4ee80fba8e
No known key found for this signature in database
GPG key ID: 5E39D70B4C93C38E
2 changed files with 26 additions and 24 deletions

View file

@ -81,32 +81,33 @@
<h3>Summary Example</h3>
<p>
Employing what we have learnt so far, we can write a configuration that:
<ul>
<li>Alerts members of their warns in a channel, instead of DMs.</li>
<li>Alerts members of kicks and bans in their DMs.</li>
<li>Makes use of multi-line strings to prepare a tidy message.</li>
<li>Includes the remaining ban time if a ban was temporary.</li>
</ul>
<CodeBlock code-lang="yaml" trim="start">
plugins:
mod_actions:
config:
dm_on_warn: false
message_on_warn: true
message_channel: "PRETEND-CHANNEL-ID"
dm_on_kick: true
dm_on_ban: true
tempban_message: |-
Dear {user.username},
As a result of {reason}, you have been banned from {guildName}
for {banTime}. We welcome you back provided you do not do this
again.
</CodeBlock>
</p>
<ul>
<li>Alerts members of their warns in a channel, instead of DMs.</li>
<li>Alerts members of kicks and bans in their DMs.</li>
<li>Makes use of multi-line strings to prepare a tidy message.</li>
<li>Includes the remaining ban time if a ban was temporary.</li>
</ul>
<CodeBlock code-lang="yaml" trim="start">
plugins:
mod_actions:
config:
dm_on_warn: false
message_on_warn: true
message_channel: "PRETEND-CHANNEL-ID"
dm_on_kick: true
dm_on_ban: true
tempban_message: |-
Dear {user.username},
As a result of {reason}, you have been banned from {guildName}
for {banTime}. We welcome you back provided you do not do this
again.
</CodeBlock>
<h2>Alerts</h2>
<p>
Alerts are a nifty way for moderators to be notified of members trying to

View file

@ -174,6 +174,7 @@
</style>
<script lang="ts">
import Vue from "vue";
import {mapState} from "vuex";
import yaml from "js-yaml";
import CodeBlock from "./CodeBlock.vue";