mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-17 03:00:13 +00:00
alias: normalize aliases for "pronouns"
This commit is contained in:
parent
d6231c4319
commit
f170a2d597
3 changed files with 5 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ public partial class CommandTree
|
|||
await ctx.CheckSystem(target).Execute<SystemEdit>(SystemServerTag, m => m.ServerTag(ctx, target));
|
||||
else if (ctx.Match("description", "desc", "bio", "info", "text"))
|
||||
await ctx.CheckSystem(target).Execute<SystemEdit>(SystemDesc, m => m.Description(ctx, target));
|
||||
else if (ctx.Match("pronouns", "prns"))
|
||||
else if (ctx.Match("pronouns", "pronoun", "prns", "pn"))
|
||||
await ctx.CheckSystem(target).Execute<SystemEdit>(SystemPronouns, m => m.Pronouns(ctx, target));
|
||||
else if (ctx.Match("color", "colour"))
|
||||
await ctx.CheckSystem(target).Execute<SystemEdit>(SystemColor, m => m.Color(ctx, target));
|
||||
|
|
|
|||
|
|
@ -68,6 +68,8 @@ public static class MemberPrivacyUtils
|
|||
break;
|
||||
case "pronouns":
|
||||
case "pronoun":
|
||||
case "prns":
|
||||
case "pn":
|
||||
subject = MemberPrivacySubject.Pronouns;
|
||||
break;
|
||||
case "meta":
|
||||
|
|
|
|||
|
|
@ -60,7 +60,9 @@ public static class SystemPrivacyUtils
|
|||
subject = SystemPrivacySubject.Description;
|
||||
break;
|
||||
case "pronouns":
|
||||
case "pronoun":
|
||||
case "prns":
|
||||
case "pn":
|
||||
subject = SystemPrivacySubject.Pronouns;
|
||||
break;
|
||||
case "members":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue