Add pk;member list
as alias for pk;system list
This commit is contained in:
parent
55b1c6499d
commit
2d43c17f9e
@ -255,6 +255,8 @@ namespace PluralKit.Bot
|
|||||||
{
|
{
|
||||||
if (ctx.Match("new", "n", "add", "create", "register"))
|
if (ctx.Match("new", "n", "add", "create", "register"))
|
||||||
await ctx.Execute<Member>(MemberNew, m => m.NewMember(ctx));
|
await ctx.Execute<Member>(MemberNew, m => m.NewMember(ctx));
|
||||||
|
else if (ctx.Match("list"))
|
||||||
|
await ctx.Execute<SystemList>(SystemList, m => m.MemberList(ctx, ctx.System));
|
||||||
else if (ctx.Match("commands", "help"))
|
else if (ctx.Match("commands", "help"))
|
||||||
await PrintCommandList(ctx, "members", MemberCommands);
|
await PrintCommandList(ctx, "members", MemberCommands);
|
||||||
else if (await ctx.MatchMember() is PKMember target)
|
else if (await ctx.MatchMember() is PKMember target)
|
||||||
|
Loading…
Reference in New Issue
Block a user