Remove obsolete doc components
This commit is contained in:
parent
85136c11e3
commit
2f64cea03b
5 changed files with 0 additions and 227 deletions
|
@ -1,60 +0,0 @@
|
||||||
<template>
|
|
||||||
<div>
|
|
||||||
<h1>Argument Types</h1>
|
|
||||||
This page details the different argument types available for commands.
|
|
||||||
<h2 id="delay">Delay</h2>A delay is used to specify an amount of time. It uses simple letters to specify time durations:
|
|
||||||
<br />
|
|
||||||
<br />Example:
|
|
||||||
<code>2d15h27m3s</code> Would be 2 days, 15 hours, 27 minutes and 3 seconds.
|
|
||||||
<br />
|
|
||||||
<br />It is important to note that spaces are not supported!
|
|
||||||
<br />
|
|
||||||
<br />
|
|
||||||
<b-collapse :open="false" class="card">
|
|
||||||
<div slot="trigger" slot-scope="props" class="card-header" role="button">
|
|
||||||
<p class="card-header-title">Additional Information</p>
|
|
||||||
<a class="card-header-icon">
|
|
||||||
<b-icon :icon="props.open ? 'menu-down' : 'menu-up'"></b-icon>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<div class="card-content">
|
|
||||||
<div class="content">
|
|
||||||
Durations:
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<code>d</code> Day
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<code>h</code> Hour
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<code>m</code> Minute
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<code>s</code> Seconds
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</b-collapse>
|
|
||||||
<h2 id="string">String</h2>
|
|
||||||
|
|
||||||
<h2 id="user">User</h2>
|
|
||||||
<p>
|
|
||||||
Anything that uniquelly identifies a user. This includes:
|
|
||||||
</p>
|
|
||||||
<ul>
|
|
||||||
<li>User ID <code>108552944961454080</code></li>
|
|
||||||
<li>User Mention <code>@Dark#1010</code></li>
|
|
||||||
<li>Loose user mention <code>Dark#1010</code></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import CodeBlock from "../CodeBlock";
|
|
||||||
|
|
||||||
export default {
|
|
||||||
components: { CodeBlock },
|
|
||||||
};
|
|
||||||
</script>
|
|
|
@ -1,3 +0,0 @@
|
||||||
<template>
|
|
||||||
<router-view></router-view>
|
|
||||||
</template>
|
|
|
@ -1,3 +0,0 @@
|
||||||
<template>
|
|
||||||
<router-view></router-view>
|
|
||||||
</template>
|
|
|
@ -1,94 +0,0 @@
|
||||||
<template>
|
|
||||||
<div>
|
|
||||||
<h1>Locate user</h1>
|
|
||||||
<p>
|
|
||||||
Name in config: <code>locate_user</code>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h2>Description</h2>
|
|
||||||
<p>
|
|
||||||
This plugin allows users with access to the commands the following:
|
|
||||||
</p>
|
|
||||||
<ul>
|
|
||||||
<li>Instantly receive an invite to the voice channel of a user</li>
|
|
||||||
<li>Be notified as soon as a user switches or joins a voice channel</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h2>Default configuration</h2>
|
|
||||||
<CodeBlock lang="yaml" trim="4">
|
|
||||||
config:
|
|
||||||
can_where: false
|
|
||||||
can_alert: false
|
|
||||||
overrides:
|
|
||||||
- level: ">=50"
|
|
||||||
config:
|
|
||||||
can_where: true
|
|
||||||
can_alert: true
|
|
||||||
</CodeBlock>
|
|
||||||
|
|
||||||
<h2>Commands</h2>
|
|
||||||
<h3>!where</h3>
|
|
||||||
<p>
|
|
||||||
Permission: <code>can_where</code><br>
|
|
||||||
Arguments:
|
|
||||||
</p>
|
|
||||||
<ul>
|
|
||||||
<li><code><User></code> The user we want to find</li>
|
|
||||||
</ul>
|
|
||||||
<p>
|
|
||||||
Sends an instant invite to the voice channel the user from the <code><User></code> argument is in.
|
|
||||||
</p>
|
|
||||||
<h3>!vcalert</h3>
|
|
||||||
<p>
|
|
||||||
Permission: <code>can_alert</code><br>
|
|
||||||
|
|
||||||
Basic usage: <code>!vcalert 108552944961454080</code><br>
|
|
||||||
|
|
||||||
|
|
||||||
Shortcut: <code>!vca</code><br><br>
|
|
||||||
|
|
||||||
Sends an instant invite along with a specified reminder once the user switches or joins a voice channel.
|
|
||||||
</p>
|
|
||||||
<b-collapse :open="false" class="card">
|
|
||||||
<div
|
|
||||||
slot="trigger"
|
|
||||||
slot-scope="props"
|
|
||||||
class="card-header"
|
|
||||||
role="button">
|
|
||||||
<div class="card-header-title">
|
|
||||||
Additional Information
|
|
||||||
</div>
|
|
||||||
<a class="card-header-icon">
|
|
||||||
<b-icon
|
|
||||||
:icon="props.open ? 'menu-down' : 'menu-up'">
|
|
||||||
</b-icon>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<div class="card-content">
|
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
Signatures:
|
|
||||||
<ul>
|
|
||||||
<li><code>!vcalert <user></code></li>
|
|
||||||
<li><code>!vcalert <user> [delay] [reminderString]</code></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
Arguments:
|
|
||||||
<ul>
|
|
||||||
<li><code><user></code> The user we want to find</li>
|
|
||||||
<li><code>[delay]</code> How long the alert should be active, following the default <router-link to="/docs/descriptions/argument-types#Delay">Delay format</router-link>. Default: <code>10 minutes</code></li>
|
|
||||||
<li><code>[reminderString]</code> Any text we want to receive once the alert triggers. Default: <code>None</code></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</b-collapse>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import CodeBlock from "../CodeBlock";
|
|
||||||
|
|
||||||
export default {
|
|
||||||
components: { CodeBlock },
|
|
||||||
};
|
|
||||||
</script>
|
|
|
@ -1,67 +0,0 @@
|
||||||
<template>
|
|
||||||
<div>
|
|
||||||
<h1>Mod actions</h1>
|
|
||||||
<p>
|
|
||||||
Name in config: <code>mod_actions</code>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h2>Default configuration</h2>
|
|
||||||
<CodeBlock lang="yaml" trim="4">
|
|
||||||
config:
|
|
||||||
dm_on_warn: true
|
|
||||||
dm_on_kick: false
|
|
||||||
dm_on_ban: false
|
|
||||||
message_on_warn: false,
|
|
||||||
message_on_kick: false
|
|
||||||
message_on_ban: false
|
|
||||||
message_channel: null
|
|
||||||
warn_message: "You have received a warning on {guildName}: {reason}"
|
|
||||||
kick_message: "You have been kicked from {guildName}. Reason given: {reason}"
|
|
||||||
ban_message: "You have been banned from {guildName}. Reason given: {reason}"
|
|
||||||
alert_on_rejoin: false
|
|
||||||
alert_channel: null
|
|
||||||
can_note: false
|
|
||||||
can_warn: false
|
|
||||||
can_mute: false
|
|
||||||
can_kick: false
|
|
||||||
can_ban: false
|
|
||||||
can_view: false
|
|
||||||
can_addcase: false
|
|
||||||
can_massban: false
|
|
||||||
can_hidecase: false
|
|
||||||
can_act_as_other: false
|
|
||||||
overrides:
|
|
||||||
- level: ">=50"
|
|
||||||
config:
|
|
||||||
can_note: true
|
|
||||||
can_warn: true
|
|
||||||
can_mute: true
|
|
||||||
can_kick: true
|
|
||||||
can_ban: true
|
|
||||||
can_view: true
|
|
||||||
can_addcase: true
|
|
||||||
- level: ">=100"
|
|
||||||
config:
|
|
||||||
can_massban: true
|
|
||||||
can_hidecase: true
|
|
||||||
can_act_as_other: true
|
|
||||||
</CodeBlock>
|
|
||||||
|
|
||||||
<h2>Commands</h2>
|
|
||||||
<h3>!note</h3>
|
|
||||||
<p>
|
|
||||||
Permission: <code>can_note</code>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import CodeBlock from "../CodeBlock";
|
|
||||||
|
|
||||||
export default {
|
|
||||||
components: { CodeBlock },
|
|
||||||
};
|
|
||||||
</script>
|
|
Loading…
Add table
Reference in a new issue