mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-17 03:00:13 +00:00
feat: add pk;dash command that links to the dashboard
This commit is contained in:
parent
debfc46776
commit
c26b61ce62
1 changed files with 2 additions and 0 deletions
|
|
@ -105,6 +105,8 @@ public partial class CommandTree
|
||||||
return ctx.Execute<Random>(GroupRandom, r => r.Group(ctx, ctx.System));
|
return ctx.Execute<Random>(GroupRandom, r => r.Group(ctx, ctx.System));
|
||||||
else
|
else
|
||||||
return ctx.Execute<Random>(MemberRandom, m => m.Member(ctx, ctx.System));
|
return ctx.Execute<Random>(MemberRandom, m => m.Member(ctx, ctx.System));
|
||||||
|
if (ctx.Match("dashboard", "dash"))
|
||||||
|
return ctx.Reply("The PluralKit dashboard is at <https://dash.pluralkit.me>");
|
||||||
|
|
||||||
// remove compiler warning
|
// remove compiler warning
|
||||||
return ctx.Reply(
|
return ctx.Reply(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue