PluralKit/docs/content/guide/commands.md

66 lines
2.4 KiB
Markdown
Raw Normal View History

# Command list
2020-06-12 15:18:51 +02:00
This page shows a list of all commands PluralKit supports.
2020-06-12 15:18:51 +02:00
## How to read this page
The first block for each command, **Usage**, shows the format of each command. This is essentially a "template" you'll need to fill in.
The parts you can change are called **arguments**, and they're highlighted.
2020-06-12 15:18:51 +02:00
### Arguments
The command's **Arguments** section will describe how to fill them in, and what you need to put there.
2020-06-12 15:18:51 +02:00
::: details Example of a command with an argument
Here's an example of a command with an argument:
<Cmd>some-command <Arg>this-is-an-argument</Arg></Cmd>
When running this command, fill in the argument like so:
<Cmd>some-command <Arg>My cool text</Arg></Cmd>
:::
### Systems and members
Some commands accept a **target system or member**:
For **systems**, this can either be a [5-character ID](./ids.md), a `@mention`, or a [Discord user ID](https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID-).
In many cases you can leave the system out entirely. Instead, it'll just use your own system.
For **members**, this can be the member's name or their [5-character ID](./ids).
::: details Example of referring to systems
<CmdGroup>
2020-06-12 15:18:51 +02:00
<Cmd comment="Own system">system list</Cmd>
<Cmd comment="By ID">system <Arg>abcde</Arg> list</Cmd>
<Cmd comment="By @mention">system <Arg>@Myriad#1234</Arg> list</Cmd>
<Cmd comment="By Discord user ID">system <Arg>466378653216014359</Arg> list</Cmd>
</CmdGroup>
2020-06-12 15:18:51 +02:00
:::
::: details Example of referring to members
<CmdGroup>
<Cmd comment="By name">member <Arg>Myriad</Arg> info</Cmd>
<Cmd comment="By name (with spaces)">member <Arg>"Myriad Kit"</Arg></Cmd>
<Cmd comment="By ID">member <Arg>zxcvb</Arg> info</Cmd>
</CmdGroup>
:::
2020-06-12 15:18:51 +02:00
::: warning
If you're trying to refer to a member with **spaces or emojis** in their name, you'll need to wrap the name in either 'single' or "double" quotes. Alternatively, you can use the [member ID](./ids).
:::
## System commands
2020-06-11 00:48:43 +02:00
::: tip
2020-06-12 15:18:51 +02:00
You can use <Cmd inline>s</Cmd> instead of <Cmd inline>system</Cmd> as a short-hand.
2020-06-11 00:48:43 +02:00
:::
2020-06-12 11:32:54 +02:00
<CommandInfo cmd="systemInfo"></CommandInfo>
<CommandInfo cmd="systemNew"></CommandInfo>
<CommandInfo cmd="systemName"></CommandInfo>
<CommandInfo cmd="systemDesc"></CommandInfo>
2020-06-11 00:48:43 +02:00
## Member commands
::: tip
2020-06-12 15:18:51 +02:00
You can use <Cmd inline>m</Cmd> instead of <Cmd inline>member</Cmd> as a short-hand.
2020-06-11 00:48:43 +02:00
:::
## Switch commands
::: tip
2020-06-12 15:18:51 +02:00
You can use <Cmd inline>sw</Cmd> instead of <Cmd inline>switch</Cmd> as a short-hand.
2020-06-11 00:48:43 +02:00
:::