mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Fix privacy handling in -with-avatar
This commit is contained in:
parent
27c9e54f17
commit
fdcce05da1
1 changed files with 2 additions and 2 deletions
|
|
@ -153,8 +153,8 @@ namespace PluralKit.Bot
|
|||
if (opts.IncludeCreated && m.MetadataPrivacy.TryGet(lookupCtx, m.Created, out var created))
|
||||
profile.Append($"\n**Created on:** {created.FormatZoned(zone)}");
|
||||
|
||||
if (opts.IncludeAvatar)
|
||||
profile.Append($"\n**Avatar URL:** {m.AvatarUrl}");
|
||||
if (opts.IncludeAvatar && m.AvatarFor(lookupCtx) is {} avatar)
|
||||
profile.Append($"\n**Avatar URL:** {avatar}");
|
||||
|
||||
if (m.DescriptionFor(lookupCtx) is {} desc)
|
||||
profile.Append($"\n\n{desc}");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue