docs: document banner privacy

This commit is contained in:
rladenson 2024-11-08 19:12:16 -07:00
parent 38f4e5d4c3
commit 2375eb137d
4 changed files with 8 additions and 4 deletions

View file

@ -509,13 +509,13 @@ public class Groups
.Title($"Current privacy settings for {target.Name}") .Title($"Current privacy settings for {target.Name}")
.Field(new Embed.Field("Name", target.NamePrivacy.Explanation())) .Field(new Embed.Field("Name", target.NamePrivacy.Explanation()))
.Field(new Embed.Field("Description", target.DescriptionPrivacy.Explanation())) .Field(new Embed.Field("Description", target.DescriptionPrivacy.Explanation()))
.Field(new Embed.Field("Description", target.BannerPrivacy.Explanation())) .Field(new Embed.Field("Banner", target.BannerPrivacy.Explanation()))
.Field(new Embed.Field("Icon", target.IconPrivacy.Explanation())) .Field(new Embed.Field("Icon", target.IconPrivacy.Explanation()))
.Field(new Embed.Field("Member list", target.ListPrivacy.Explanation())) .Field(new Embed.Field("Member list", target.ListPrivacy.Explanation()))
.Field(new Embed.Field("Metadata (creation date)", target.MetadataPrivacy.Explanation())) .Field(new Embed.Field("Metadata (creation date)", target.MetadataPrivacy.Explanation()))
.Field(new Embed.Field("Visibility", target.Visibility.Explanation())) .Field(new Embed.Field("Visibility", target.Visibility.Explanation()))
.Description( .Description(
$"To edit privacy settings, use the command:\n> pk;group **{target.Reference(ctx)}** privacy **<subject>** **<level>**\n\n- `subject` is one of `name`, `description`, `icon`, `members`, `metadata`, `visibility`, or `all`\n- `level` is either `public` or `private`.") $"To edit privacy settings, use the command:\n> pk;group **{target.Reference(ctx)}** privacy **<subject>** **<level>**\n\n- `subject` is one of `name`, `description`, `banner`, `icon`, `members`, `metadata`, `visibility`, or `all`\n- `level` is either `public` or `private`.")
.Build()); .Build());
return; return;
} }

View file

@ -765,7 +765,7 @@ public class MemberEdit
target.MetadataPrivacy.Explanation())) target.MetadataPrivacy.Explanation()))
.Field(new Embed.Field("Visibility", target.MemberVisibility.Explanation())) .Field(new Embed.Field("Visibility", target.MemberVisibility.Explanation()))
.Description( .Description(
"To edit privacy settings, use the command:\n`pk;member <member> privacy <subject> <level>`\n\n- `subject` is one of `name`, `description`, `avatar`, `birthday`, `pronouns`, `proxies`, `metadata`, `visibility`, or `all`\n- `level` is either `public` or `private`.") "To edit privacy settings, use the command:\n`pk;member <member> privacy <subject> <level>`\n\n- `subject` is one of `name`, `description`, `banner`, `avatar`, `birthday`, `pronouns`, `proxies`, `metadata`, `visibility`, or `all`\n- `level` is either `public` or `private`.")
.Build()); .Build());
return; return;
} }

View file

@ -842,7 +842,7 @@ public class SystemEdit
.Field(new Embed.Field("Current fronter(s)", target.FrontPrivacy.Explanation())) .Field(new Embed.Field("Current fronter(s)", target.FrontPrivacy.Explanation()))
.Field(new Embed.Field("Front/switch history", target.FrontHistoryPrivacy.Explanation())) .Field(new Embed.Field("Front/switch history", target.FrontHistoryPrivacy.Explanation()))
.Description( .Description(
"To edit privacy settings, use the command:\n`pk;system privacy <subject> <level>`\n\n- `subject` is one of `name`, `avatar`, `description`, `list`, `front`, `fronthistory`, `groups`, or `all` \n- `level` is either `public` or `private`."); "To edit privacy settings, use the command:\n`pk;system privacy <subject> <level>`\n\n- `subject` is one of `name`, `avatar`, `description`, `banner`, `list`, `front`, `fronthistory`, `groups`, or `all` \n- `level` is either `public` or `private`.");
return ctx.Reply(embed: eb.Build()); return ctx.Reply(embed: eb.Build());
} }

View file

@ -667,6 +667,7 @@ There are various reasons you may not want information about your system or your
At the moment, there are a few aspects of system privacy that can be configured. At the moment, there are a few aspects of system privacy that can be configured.
- System description - System description
- System banner
- System pronouns - System pronouns
- Member list - Member list
- Group list - Group list
@ -683,6 +684,7 @@ To update your system privacy settings, use the following commands:
* `subject` is one of: * `subject` is one of:
* `description` * `description`
* `banner`
* `pronouns` * `pronouns`
* `list` * `list`
* `groups` * `groups`
@ -707,6 +709,7 @@ There are also some options for configuring member privacy:
- Name - Name
- Description - Description
- Banner
- Avatar - Avatar
- Birthday - Birthday
- Pronouns - Pronouns
@ -727,6 +730,7 @@ To update a member's privacy, you can use the command:
* `subject` is one of: * `subject` is one of:
* `name` * `name`
* `description` * `description`
* `banner`
* `avatar` * `avatar`
* `birthday` * `birthday`
* `pronouns` * `pronouns`