Add 'g' as alias for system groups
This commit is contained in:
parent
001aff6298
commit
929b34e555
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user