feat: add 'prns' alias to pronouns command

This commit is contained in:
spiral 2022-02-26 16:32:53 -05:00
parent 078b5a5bcd
commit 034258f050
No known key found for this signature in database
GPG Key ID: 244A11E4B0BCF40E

View File

@ -271,7 +271,7 @@ public partial class CommandTree
await ctx.Execute<MemberEdit>(MemberRename, m => m.Name(ctx, target)); await ctx.Execute<MemberEdit>(MemberRename, m => m.Name(ctx, target));
else if (ctx.Match("description", "info", "bio", "text", "desc")) else if (ctx.Match("description", "info", "bio", "text", "desc"))
await ctx.Execute<MemberEdit>(MemberDesc, m => m.Description(ctx, target)); await ctx.Execute<MemberEdit>(MemberDesc, m => m.Description(ctx, target));
else if (ctx.Match("pronouns", "pronoun")) else if (ctx.Match("pronouns", "pronoun", "prns", "pn"))
await ctx.Execute<MemberEdit>(MemberPronouns, m => m.Pronouns(ctx, target)); await ctx.Execute<MemberEdit>(MemberPronouns, m => m.Pronouns(ctx, target));
else if (ctx.Match("color", "colour")) else if (ctx.Match("color", "colour"))
await ctx.Execute<MemberEdit>(MemberColor, m => m.Color(ctx, target)); await ctx.Execute<MemberEdit>(MemberColor, m => m.Color(ctx, target));