From 020a6f99fef62be702c822b6201d130d559d34ab Mon Sep 17 00:00:00 2001 From: spiral Date: Sat, 25 Mar 2023 16:08:44 -0400 Subject: [PATCH] feat(docs): add some previously undocumented commands --- PluralKit.Bot/CommandMeta/CommandTree.cs | 1 + docs/content/command-list.md | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/PluralKit.Bot/CommandMeta/CommandTree.cs b/PluralKit.Bot/CommandMeta/CommandTree.cs index ee95dc0d..2d5f84c6 100644 --- a/PluralKit.Bot/CommandMeta/CommandTree.cs +++ b/PluralKit.Bot/CommandMeta/CommandTree.cs @@ -189,6 +189,7 @@ public partial class CommandTree } // hacky, but we need to CheckSystem(target) which throws a PKError + // normally PKErrors are only handled in ctx.Execute try { await HandleSystemCommandTargeted(ctx, target ?? ctx.System); diff --git a/docs/content/command-list.md b/docs/content/command-list.md index b7c34620..5649dfa6 100644 --- a/docs/content/command-list.md +++ b/docs/content/command-list.md @@ -53,6 +53,7 @@ You can have a space after `pk;`, e.g. `pk;system` and `pk; system` will do the - `pk;system [system] description [description]` - Changes the description of your system. - `pk;system [system] avatar [avatar url|@mention|upload]` - Changes the avatar of your system. - `pk;system [system] banner [image url|upload]` - Changes your system's banner image. +- `pk;system [system] color [color]` - Changes your system's color. - `pk;system [system] privacy` - Displays your system's current privacy settings. - `pk;system [system] privacy ` - Changes your systems privacy settings. - `pk;system [system] tag [tag]` - Changes the system tag of your system. @@ -109,6 +110,8 @@ You can have a space after `pk;`, e.g. `pk;system` and `pk; system` will do the - `pk;group remove [member 2] [member 3...]` - Removes one or more members from a group. - `pk;group privacy ` - Changes a group's privacy settings. - `pk;group icon [icon url|@mention|upload]` - Shows or changes a group's icon. +- `pk;group color [color]` - Shows or changes a group's color. +- `pk;group random` - Shows a random member from a group. - `pk;group banner [image url|upload]` - Shows or changes a group's banner image. - `pk;group delete` - Deletes a group. - `pk;group id` - Prints a group's id. @@ -133,6 +136,9 @@ You can have a space after `pk;`, e.g. `pk;system` and `pk; system` will do the - `pk;config autoproxy timeout [|off|reset]` - Sets the latch timeout duration for your system. - `pk;config autoproxy account [on|off]` - Toggles autoproxy globally for the current account. - `pk;config proxy case [on|off]` - Toggles case sensitive proxy tags for your system. +- `pk;config private member [on|off]` - Toggles whether member privacy is automatically set to private for new members. +- `pk;config private group [on|off]` - Toggles whether group privacy is automatically set to private for new groups. +- `pk;config show private [on|off]` - Toggles whether private information is shown to linked accounts by default. ## Server owner commands *(all commands here require Manage Server permission)* @@ -157,6 +163,7 @@ You can have a space after `pk;`, e.g. `pk;system` and `pk; system` will do the - `pk;reproxy [message link|reply] ` - Reproxies a message using a different member. Without an explicit message target, will target the last message proxied by your system in the current channel. Only works on the last message, or within 1 minute of the proxied message being sent. Doesn't work on a non-proxied message. - `pk;link ` - Links your system to a different account. - `pk;unlink [account]` - Unlinks an account from your system. +- `pk;random [-group]` - Shows the card of a random member or group from your system. ## API *(for using the [PluralKit API](/api), useful for developers)*