From 84a91b3f758453085b191ecb3fdcff02c720ce14 Mon Sep 17 00:00:00 2001 From: Ske Date: Wed, 26 Aug 2020 22:01:52 +0200 Subject: [PATCH] Add "groups" to system privacy parse error --- PluralKit.Bot/Commands/Privacy/ContextPrivacyExt.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Commands/Privacy/ContextPrivacyExt.cs b/PluralKit.Bot/Commands/Privacy/ContextPrivacyExt.cs index 04e88a1b..2e9eb675 100644 --- a/PluralKit.Bot/Commands/Privacy/ContextPrivacyExt.cs +++ b/PluralKit.Bot/Commands/Privacy/ContextPrivacyExt.cs @@ -21,7 +21,7 @@ namespace PluralKit.Bot public static SystemPrivacySubject PopSystemPrivacySubject(this Context ctx) { if (!SystemPrivacyUtils.TryParseSystemPrivacy(ctx.PeekArgument(), out var subject)) - throw new PKSyntaxError($"Invalid privacy subject {ctx.PopArgument().AsCode()} (must be `description`, `members`, `front`, `fronthistory`, or `all`)."); + throw new PKSyntaxError($"Invalid privacy subject {ctx.PopArgument().AsCode()} (must be `description`, `members`, `front`, `fronthistory`, `groups`, or `all`)."); ctx.PopArgument(); return subject;