PluralKit/PluralKit.Bot/CommandMeta/CommandParseErrors.cs

19 lines
550 B
C#
Raw Normal View History

using Myriad.Types;
namespace PluralKit.Bot;
public partial class CommandTree
{
2025-10-07 21:59:26 +00:00
private async Task PrintCommandList(Context ctx, string subject, string commands)
{
await ctx.Reply(
components: [
new MessageComponent()
{
Type = ComponentType.Text,
Content = $"Here is a list of commands related to {subject}:\n{commands}\nFor a full list of possible commands, see <https://pluralkit.me/commands>.",
}
]
);
}
}