fix(bot): add "proxy" to pk;m privacy help/error text

This commit is contained in:
alyssa 2024-05-30 00:08:35 +09:00
parent 0557d2cd7e
commit 4e285c75fb
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ public static class ContextPrivacyExt
{
if (!MemberPrivacyUtils.TryParseMemberPrivacy(ctx.PeekArgument(), out var subject))
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();
return subject;