From 0e7bcb993e556888ebd23b0655e6438da1758123 Mon Sep 17 00:00:00 2001 From: spiral Date: Thu, 15 Jul 2021 02:06:35 -0400 Subject: [PATCH] Fix markdown formatting for privacy subject errors --- PluralKit.Bot/Commands/Privacy/ContextPrivacyExt.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PluralKit.Bot/Commands/Privacy/ContextPrivacyExt.cs b/PluralKit.Bot/Commands/Privacy/ContextPrivacyExt.cs index ba422e5e..cabd82b4 100644 --- a/PluralKit.Bot/Commands/Privacy/ContextPrivacyExt.cs +++ b/PluralKit.Bot/Commands/Privacy/ContextPrivacyExt.cs @@ -30,7 +30,7 @@ namespace PluralKit.Bot public static MemberPrivacySubject PopMemberPrivacySubject(this Context ctx) { 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)."); + throw new PKSyntaxError($"Invalid privacy subject {ctx.PopArgument().AsCode()} (must be `name`, `description`, `avatar`, `birthday`, `pronouns`, `metadata`, `visibility`, or `all`)."); ctx.PopArgument(); return subject; @@ -39,7 +39,7 @@ namespace PluralKit.Bot public static GroupPrivacySubject PopGroupPrivacySubject(this Context ctx) { if (!GroupPrivacyUtils.TryParseGroupPrivacy(ctx.PeekArgument(), out var subject)) - throw new PKSyntaxError($"Invalid privacy subject {ctx.PopArgument().AsCode()} (must be `description`, `icon`, `visibility`, or `all)."); + throw new PKSyntaxError($"Invalid privacy subject {ctx.PopArgument().AsCode()} (must be `description`, `icon`, `visibility`, or `all`)."); ctx.PopArgument(); return subject; @@ -54,4 +54,4 @@ namespace PluralKit.Bot return privacy; } } -} \ No newline at end of file +}