diff --git a/PluralKit.Bot/CommandMeta/CommandTree.cs b/PluralKit.Bot/CommandMeta/CommandTree.cs index 809eee0a..25f06433 100644 --- a/PluralKit.Bot/CommandMeta/CommandTree.cs +++ b/PluralKit.Bot/CommandMeta/CommandTree.cs @@ -229,7 +229,7 @@ public partial class CommandTree await ctx.CheckSystem(target).Execute(SystemTag, m => m.Tag(ctx, target)); else if (ctx.Match("servertag", "st", "stag", "deer")) await ctx.CheckSystem(target).Execute(SystemServerTag, m => m.ServerTag(ctx, target)); - else if (ctx.Match("description", "desc", "bio", "info", "text")) + else if (ctx.Match("description", "desc", "describe", "d", "bio", "info", "text", "intro")) await ctx.CheckSystem(target).Execute(SystemDesc, m => m.Description(ctx, target)); else if (ctx.Match("pronouns", "pronoun", "prns", "pn")) await ctx.CheckSystem(target).Execute(SystemPronouns, m => m.Pronouns(ctx, target)); @@ -299,7 +299,7 @@ public partial class CommandTree // Commands that have a member target (eg. pk;member delete) if (ctx.Match("rename", "name", "changename", "setname", "rn")) await ctx.Execute(MemberRename, m => m.Name(ctx, target)); - else if (ctx.Match("description", "info", "bio", "text", "desc")) + else if (ctx.Match("description", "desc", "describe", "d", "bio", "info", "text", "intro")) await ctx.Execute(MemberDesc, m => m.Description(ctx, target)); else if (ctx.Match("pronouns", "pronoun", "prns", "pn")) await ctx.Execute(MemberPronouns, m => m.Pronouns(ctx, target)); @@ -376,7 +376,7 @@ public partial class CommandTree await ctx.Execute(GroupRename, g => g.RenameGroup(ctx, target)); else if (ctx.Match("nick", "dn", "displayname", "nickname")) await ctx.Execute(GroupDisplayName, g => g.GroupDisplayName(ctx, target)); - else if (ctx.Match("description", "info", "bio", "text", "desc")) + else if (ctx.Match("description", "desc", "describe", "d", "bio", "info", "text", "intro")) await ctx.Execute(GroupDesc, g => g.GroupDescription(ctx, target)); else if (ctx.Match("add", "a")) await ctx.Execute(GroupAdd, diff --git a/PluralKit.Core/Models/Privacy/GroupPrivacySubject.cs b/PluralKit.Core/Models/Privacy/GroupPrivacySubject.cs index 24e1f2b1..cb5c8358 100644 --- a/PluralKit.Core/Models/Privacy/GroupPrivacySubject.cs +++ b/PluralKit.Core/Models/Privacy/GroupPrivacySubject.cs @@ -45,8 +45,12 @@ public static class GroupPrivacyUtils break; case "description": case "desc": - case "text": + case "describe": + case "d": + case "bio": case "info": + case "text": + case "intro": subject = GroupPrivacySubject.Description; break; case "avatar": diff --git a/PluralKit.Core/Models/Privacy/MemberPrivacySubject.cs b/PluralKit.Core/Models/Privacy/MemberPrivacySubject.cs index cf69b119..acfdadf4 100644 --- a/PluralKit.Core/Models/Privacy/MemberPrivacySubject.cs +++ b/PluralKit.Core/Models/Privacy/MemberPrivacySubject.cs @@ -49,8 +49,12 @@ public static class MemberPrivacyUtils break; case "description": case "desc": - case "text": + case "describe": + case "d": + case "bio": case "info": + case "text": + case "intro": subject = MemberPrivacySubject.Description; break; case "avatar": diff --git a/PluralKit.Core/Models/Privacy/SystemPrivacySubject.cs b/PluralKit.Core/Models/Privacy/SystemPrivacySubject.cs index 150e4d8e..bd3bde32 100644 --- a/PluralKit.Core/Models/Privacy/SystemPrivacySubject.cs +++ b/PluralKit.Core/Models/Privacy/SystemPrivacySubject.cs @@ -55,8 +55,12 @@ public static class SystemPrivacyUtils break; case "description": case "desc": - case "text": + case "describe": + case "d": + case "bio": case "info": + case "text": + case "intro": subject = SystemPrivacySubject.Description; break; case "pronouns":