mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat(bot): add system aliases "account" and "acc"
This commit is contained in:
parent
3d0eb562bf
commit
4dd80805ae
1 changed files with 3 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ public partial class CommandTree
|
||||||
{
|
{
|
||||||
public Task ExecuteCommand(Context ctx)
|
public Task ExecuteCommand(Context ctx)
|
||||||
{
|
{
|
||||||
if (ctx.Match("system", "s"))
|
if (ctx.Match("system", "s", "account", "acc"))
|
||||||
return HandleSystemCommand(ctx);
|
return HandleSystemCommand(ctx);
|
||||||
if (ctx.Match("member", "m"))
|
if (ctx.Match("member", "m"))
|
||||||
return HandleMemberCommand(ctx);
|
return HandleMemberCommand(ctx);
|
||||||
|
|
@ -503,6 +503,8 @@ public partial class CommandTree
|
||||||
case "system":
|
case "system":
|
||||||
case "systems":
|
case "systems":
|
||||||
case "s":
|
case "s":
|
||||||
|
case "account":
|
||||||
|
case "acc":
|
||||||
await PrintCommandList(ctx, "systems", SystemCommands);
|
await PrintCommandList(ctx, "systems", SystemCommands);
|
||||||
break;
|
break;
|
||||||
case "member":
|
case "member":
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue