Add 'g' as alias for system groups
This commit is contained in:
		| @@ -240,7 +240,7 @@ namespace PluralKit.Bot | |||||||
|                 await ctx.Execute<SystemEdit>(SystemPing, m => m.SystemPing(ctx)); |                 await ctx.Execute<SystemEdit>(SystemPing, m => m.SystemPing(ctx)); | ||||||
|             else if (ctx.Match("commands", "help")) |             else if (ctx.Match("commands", "help")) | ||||||
|                 await PrintCommandList(ctx, "systems", SystemCommands); |                 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)); |                 await ctx.Execute<Groups>(GroupList, g => g.ListSystemGroups(ctx, null)); | ||||||
|             else if (!ctx.HasNext()) // Bare command |             else if (!ctx.HasNext()) // Bare command | ||||||
|                 await ctx.Execute<System>(SystemInfo, m => m.Query(ctx, ctx.System)); |                 await ctx.Execute<System>(SystemInfo, m => m.Query(ctx, ctx.System)); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user