From ff70c26dae5cabe83c5440551fa5229d981c00db Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 27 Oct 2022 04:52:29 +0200 Subject: [PATCH] fix: put pk;commands member/pk;m help output in embed --- PluralKit.Bot/CommandMeta/CommandParseErrors.cs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/PluralKit.Bot/CommandMeta/CommandParseErrors.cs b/PluralKit.Bot/CommandMeta/CommandParseErrors.cs index 522aab14..81e3cdf4 100644 --- a/PluralKit.Bot/CommandMeta/CommandParseErrors.cs +++ b/PluralKit.Bot/CommandMeta/CommandParseErrors.cs @@ -1,5 +1,7 @@ using Humanizer; +using Myriad.Types; + using PluralKit.Core; namespace PluralKit.Bot; @@ -28,7 +30,14 @@ public partial class CommandTree private async Task PrintCommandList(Context ctx, string subject, params Command[] commands) { var str = CreatePotentialCommandList(commands); - await ctx.Reply($"Here is a list of commands related to {subject}: \n{str}\nFor a full list of possible commands, see ."); + await ctx.Reply( + $"Here is a list of commands related to {subject}:", + embed: new Embed() + { + Description = $"{str}\nFor a full list of possible commands, see .", + Color = DiscordUtils.Blue, + } + ); } private async Task CreateSystemNotFoundError(Context ctx)