Comment out color privacy stuff for now (revisit later?)
This commit is contained in:
		| @@ -110,7 +110,8 @@ namespace PluralKit.Bot { | ||||
|             var eb = new DiscordEmbedBuilder() | ||||
|                 // TODO: add URL of website when that's up | ||||
|                 .WithAuthor(name, iconUrl: DiscordUtils.WorkaroundForUrlBug(avatar)) | ||||
|                 .WithColor(member.ColorPrivacy.CanAccess(ctx) ? color : DiscordUtils.Gray) | ||||
|                 // .WithColor(member.ColorPrivacy.CanAccess(ctx) ? color : DiscordUtils.Gray) | ||||
|                 .WithColor(color) | ||||
|                 .WithFooter($"System ID: {system.Hid} | Member ID: {member.Hid} {(member.MetadataPrivacy.CanAccess(ctx) ? $"| Created on {DateTimeFormats.ZonedDateTimeFormat.Format(member.Created.InZone(system.Zone))}":"")}"); | ||||
|  | ||||
|             var description = ""; | ||||
| @@ -133,7 +134,8 @@ namespace PluralKit.Bot { | ||||
|             // --- For when this gets added to the member object itself or however they get added | ||||
|             // if (member.LastMessage != null && member.MetadataPrivacy.CanAccess(ctx)) eb.AddField("Last message:" FormatTimestamp(DiscordUtils.SnowflakeToInstant(m.LastMessage.Value))); | ||||
|             // if (member.LastSwitchTime != null && m.MetadataPrivacy.CanAccess(ctx)) eb.AddField("Last switched in:", FormatTimestamp(member.LastSwitchTime.Value)); | ||||
|             if (!member.Color.EmptyOrNull() && member.ColorPrivacy.CanAccess(ctx)) eb.AddField("Color", $"#{member.Color}", true); | ||||
|             // if (!member.Color.EmptyOrNull() && member.ColorPrivacy.CanAccess(ctx)) eb.AddField("Color", $"#{member.Color}", true); | ||||
|             if (!member.Color.EmptyOrNull()) eb.AddField("Color", $"#{member.Color}", true); | ||||
|              | ||||
|             if (!member.Description.EmptyOrNull() && member.DescriptionPrivacy.CanAccess(ctx)) eb.AddField("Description", member.Description.NormalizeLineEndSpacing(), false); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user