feat(bot): add many aliases

This commit is contained in:
Petal Ladenson 2024-08-29 06:32:22 -06:00 committed by GitHub
parent 7ef1dce0a5
commit 601d266063
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 37 additions and 19 deletions

View file

@ -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":

View file

@ -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":
@ -64,10 +68,14 @@ public static class MemberPrivacyUtils
case "bday":
case "birthdate":
case "bdate":
case "cakeday":
case "bd":
subject = MemberPrivacySubject.Birthday;
break;
case "pronouns":
case "pronoun":
case "prns":
case "pn":
subject = MemberPrivacySubject.Pronouns;
break;
case "meta":

View file

@ -55,12 +55,18 @@ 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":
case "pronoun":
case "prns":
case "pn":
subject = SystemPrivacySubject.Pronouns;
break;
case "members":