mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 08:40:11 +00:00
fix: respect sys name privacy in group embed
This commit is contained in:
parent
debfc46776
commit
bd67bc57e6
1 changed files with 1 additions and 1 deletions
|
|
@ -263,7 +263,7 @@ public class EmbedService
|
||||||
else if (system.NameFor(ctx) != null)
|
else if (system.NameFor(ctx) != null)
|
||||||
nameField = $"{nameField} ({system.NameFor(ctx)})";
|
nameField = $"{nameField} ({system.NameFor(ctx)})";
|
||||||
else
|
else
|
||||||
nameField = $"{nameField} ({system.Name})";
|
nameField = $"{nameField}";
|
||||||
|
|
||||||
var eb = new EmbedBuilder()
|
var eb = new EmbedBuilder()
|
||||||
.Author(new Embed.EmbedAuthor(nameField, IconUrl: target.IconFor(pctx), Url: $"https://dash.pluralkit.me/profile/g/{target.Hid}"))
|
.Author(new Embed.EmbedAuthor(nameField, IconUrl: target.IconFor(pctx), Url: $"https://dash.pluralkit.me/profile/g/{target.Hid}"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue