From 2f8f819e221487d7065d7aa1ce4e8726d94d0cff Mon Sep 17 00:00:00 2001 From: acw0 Date: Tue, 28 Jul 2020 17:57:26 -0400 Subject: [PATCH] Add "n" as an alias to "new" for creating a system --- PluralKit.Bot/Commands/CommandTree.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Commands/CommandTree.cs b/PluralKit.Bot/Commands/CommandTree.cs index 08fd4a6e..fba7cc0a 100644 --- a/PluralKit.Bot/Commands/CommandTree.cs +++ b/PluralKit.Bot/Commands/CommandTree.cs @@ -175,7 +175,7 @@ namespace PluralKit.Bot await ctx.Execute(SystemInfo, m => m.Query(ctx, ctx.System)); // First, we match own-system-only commands (ie. no target system parameter) - else if (ctx.Match("new", "create", "make", "add", "register", "init")) + else if (ctx.Match("new", "create", "make", "add", "register", "init", "n")) await ctx.Execute(SystemNew, m => m.New(ctx)); else if (ctx.Match("name", "rename", "changename")) await ctx.Execute(SystemRename, m => m.Name(ctx));