Add 'nick' to group display name alias
This commit is contained in:
parent
9114c9815c
commit
d21eb7b477
@ -356,7 +356,7 @@ namespace PluralKit.Bot
|
|||||||
// Commands with group argument
|
// Commands with group argument
|
||||||
if (ctx.Match("rename", "name", "changename", "setname"))
|
if (ctx.Match("rename", "name", "changename", "setname"))
|
||||||
await ctx.Execute<Groups>(GroupRename, g => g.RenameGroup(ctx, target));
|
await ctx.Execute<Groups>(GroupRename, g => g.RenameGroup(ctx, target));
|
||||||
else if (ctx.Match("dn", "displayname", "nickname"))
|
else if (ctx.Match("nick", "dn", "displayname", "nickname"))
|
||||||
await ctx.Execute<Groups>(GroupDisplayName, g => g.GroupDisplayName(ctx, target));
|
await ctx.Execute<Groups>(GroupDisplayName, g => g.GroupDisplayName(ctx, target));
|
||||||
else if (ctx.Match("description", "info", "bio", "text", "desc"))
|
else if (ctx.Match("description", "info", "bio", "text", "desc"))
|
||||||
await ctx.Execute<Groups>(GroupDesc, g => g.GroupDescription(ctx, target));
|
await ctx.Execute<Groups>(GroupDesc, g => g.GroupDescription(ctx, target));
|
||||||
|
Loading…
Reference in New Issue
Block a user