mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat: rework group list into member list
This commit is contained in:
parent
0afe031284
commit
f3869dbcbe
21 changed files with 374 additions and 126 deletions
|
|
@ -43,7 +43,7 @@ public static class ContextPrivacyExt
|
|||
{
|
||||
if (!GroupPrivacyUtils.TryParseGroupPrivacy(ctx.PeekArgument(), out var subject))
|
||||
throw new PKSyntaxError(
|
||||
$"Invalid privacy subject {ctx.PopArgument().AsCode()} (must be `description`, `icon`, `visibility`, or `all`).");
|
||||
$"Invalid privacy subject {ctx.PopArgument().AsCode()} (must be `name`, `description`, `icon`, `metadata`, `visibility`, or `all`).");
|
||||
|
||||
ctx.PopArgument();
|
||||
return subject;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue