feat(bot): add pk;dashboard command

This commit is contained in:
Petal Ladenson 2024-10-04 10:39:52 -06:00 committed by GitHub
parent 7fb1681cac
commit 24eda3a862
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 0 deletions

View file

@ -105,6 +105,8 @@ public partial class CommandTree
return ctx.Execute<Random>(GroupRandom, r => r.Group(ctx, ctx.System));
else
return ctx.Execute<Random>(MemberRandom, m => m.Member(ctx, ctx.System));
if (ctx.Match("dashboard", "dash"))
return ctx.Execute<Help>(Dashboard, m => m.Dashboard(ctx));
// remove compiler warning
return ctx.Reply(