mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
fix(bot): add "proxy" to pk;m privacy help/error text
This commit is contained in:
parent
0557d2cd7e
commit
4e285c75fb
2 changed files with 2 additions and 2 deletions
|
|
@ -58,7 +58,7 @@ public partial class CommandTree
|
||||||
public static Command MemberServerKeepProxy = new Command("member server keepproxy", "member <member> serverkeepproxy [on|off|clear]", "Sets whether to include a member's proxy tags when proxying in the current server.");
|
public static Command MemberServerKeepProxy = new Command("member server keepproxy", "member <member> serverkeepproxy [on|off|clear]", "Sets whether to include a member's proxy tags when proxying in the current server.");
|
||||||
public static Command MemberRandom = new Command("system random", "system [system] random", "Shows the info card of a randomly selected member in a system.");
|
public static Command MemberRandom = new Command("system random", "system [system] random", "Shows the info card of a randomly selected member in a system.");
|
||||||
public static Command MemberId = new Command("member id", "member [member] id", "Prints a member's id.");
|
public static Command MemberId = new Command("member id", "member [member] id", "Prints a member's id.");
|
||||||
public static Command MemberPrivacy = new Command("member privacy", "member <member> privacy <name|description|birthday|pronouns|metadata|visibility|all> <public|private>", "Changes a members's privacy settings");
|
public static Command MemberPrivacy = new Command("member privacy", "member <member> privacy <name|description|birthday|pronouns|proxy|metadata|visibility|all> <public|private>", "Changes a members's privacy settings");
|
||||||
public static Command GroupInfo = new Command("group", "group <name>", "Looks up information about a group");
|
public static Command GroupInfo = new Command("group", "group <name>", "Looks up information about a group");
|
||||||
public static Command GroupNew = new Command("group new", "group new <name>", "Creates a new group");
|
public static Command GroupNew = new Command("group new", "group new <name>", "Creates a new group");
|
||||||
public static Command GroupList = new Command("group list", "group list", "Lists all groups in this system");
|
public static Command GroupList = new Command("group list", "group list", "Lists all groups in this system");
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ public static class ContextPrivacyExt
|
||||||
{
|
{
|
||||||
if (!MemberPrivacyUtils.TryParseMemberPrivacy(ctx.PeekArgument(), out var subject))
|
if (!MemberPrivacyUtils.TryParseMemberPrivacy(ctx.PeekArgument(), out var subject))
|
||||||
throw new PKSyntaxError(
|
throw new PKSyntaxError(
|
||||||
$"Invalid privacy subject {ctx.PopArgument().AsCode()} (must be `name`, `description`, `avatar`, `birthday`, `pronouns`, `metadata`, `visibility`, or `all`).");
|
$"Invalid privacy subject {ctx.PopArgument().AsCode()} (must be `name`, `description`, `avatar`, `birthday`, `pronouns`, `proxy`, `metadata`, `visibility`, or `all`).");
|
||||||
|
|
||||||
ctx.PopArgument();
|
ctx.PopArgument();
|
||||||
return subject;
|
return subject;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue