mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
feat(bot): add many aliases
This commit is contained in:
parent
7ef1dce0a5
commit
601d266063
6 changed files with 37 additions and 19 deletions
|
|
@ -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":
|
||||
|
|
|
|||
|
|
@ -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":
|
||||
|
|
|
|||
|
|
@ -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":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue