From c26b61ce626155a81b27692389ca31ef68f9555f Mon Sep 17 00:00:00 2001 From: rladenson Date: Wed, 2 Oct 2024 20:54:49 -0600 Subject: [PATCH] feat: add pk;dash command that links to the dashboard --- PluralKit.Bot/CommandMeta/CommandTree.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PluralKit.Bot/CommandMeta/CommandTree.cs b/PluralKit.Bot/CommandMeta/CommandTree.cs index 64d0a929..b65dd973 100644 --- a/PluralKit.Bot/CommandMeta/CommandTree.cs +++ b/PluralKit.Bot/CommandMeta/CommandTree.cs @@ -105,6 +105,8 @@ public partial class CommandTree return ctx.Execute(GroupRandom, r => r.Group(ctx, ctx.System)); else return ctx.Execute(MemberRandom, m => m.Member(ctx, ctx.System)); + if (ctx.Match("dashboard", "dash")) + return ctx.Reply("The PluralKit dashboard is at "); // remove compiler warning return ctx.Reply(