Add 'g' as alias for system groups

This commit is contained in:
Ske 2020-08-26 22:01:42 +02:00
parent 001aff6298
commit 929b34e555

View File

@ -240,7 +240,7 @@ namespace PluralKit.Bot
await ctx.Execute<SystemEdit>(SystemPing, m => m.SystemPing(ctx));
else if (ctx.Match("commands", "help"))
await PrintCommandList(ctx, "systems", SystemCommands);
else if (ctx.Match("groups", "gs"))
else if (ctx.Match("groups", "gs", "g"))
await ctx.Execute<Groups>(GroupList, g => g.ListSystemGroups(ctx, null));
else if (!ctx.HasNext()) // Bare command
await ctx.Execute<System>(SystemInfo, m => m.Query(ctx, ctx.System));