mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +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)
|
||||
{
|
||||
if (ctx.Match("system", "s"))
|
||||
if (ctx.Match("system", "s", "account", "acc"))
|
||||
return HandleSystemCommand(ctx);
|
||||
if (ctx.Match("member", "m"))
|
||||
return HandleMemberCommand(ctx);
|
||||
|
|
@ -503,6 +503,8 @@ public partial class CommandTree
|
|||
case "system":
|
||||
case "systems":
|
||||
case "s":
|
||||
case "account":
|
||||
case "acc":
|
||||
await PrintCommandList(ctx, "systems", SystemCommands);
|
||||
break;
|
||||
case "member":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue