feat: system pronouns (#429)
This commit is contained in:
@@ -3,6 +3,7 @@ namespace PluralKit.Core;
|
||||
public enum SystemPrivacySubject
|
||||
{
|
||||
Description,
|
||||
Pronouns,
|
||||
MemberList,
|
||||
GroupList,
|
||||
Front,
|
||||
@@ -17,6 +18,7 @@ public static class SystemPrivacyUtils
|
||||
_ = subject switch
|
||||
{
|
||||
SystemPrivacySubject.Description => system.DescriptionPrivacy = level,
|
||||
SystemPrivacySubject.Pronouns => system.PronounPrivacy = level,
|
||||
SystemPrivacySubject.Front => system.FrontPrivacy = level,
|
||||
SystemPrivacySubject.FrontHistory => system.FrontHistoryPrivacy = level,
|
||||
SystemPrivacySubject.MemberList => system.MemberListPrivacy = level,
|
||||
@@ -44,6 +46,10 @@ public static class SystemPrivacyUtils
|
||||
case "info":
|
||||
subject = SystemPrivacySubject.Description;
|
||||
break;
|
||||
case "pronouns":
|
||||
case "prns":
|
||||
subject = SystemPrivacySubject.Pronouns;
|
||||
break;
|
||||
case "members":
|
||||
case "memberlist":
|
||||
case "list":
|
||||
|
Reference in New Issue
Block a user