feat: add showing avatar URL in short list
This commit is contained in:
		@@ -163,6 +163,8 @@ namespace PluralKit.Bot
 | 
				
			|||||||
                                    ret += $"(last message: <t:{DiscordUtils.SnowflakeToInstant(lastMsg.Value).ToUnixTimeSeconds()}>)";
 | 
					                                    ret += $"(last message: <t:{DiscordUtils.SnowflakeToInstant(lastMsg.Value).ToUnixTimeSeconds()}>)";
 | 
				
			||||||
                                else if (opts.IncludeCreated && m.MetadataPrivacy.TryGet(lookupCtx, m.Created, out var created))
 | 
					                                else if (opts.IncludeCreated && m.MetadataPrivacy.TryGet(lookupCtx, m.Created, out var created))
 | 
				
			||||||
                                    ret += $"(created at <t:{created.ToUnixTimeSeconds()}>)";
 | 
					                                    ret += $"(created at <t:{created.ToUnixTimeSeconds()}>)";
 | 
				
			||||||
 | 
					                                else if (opts.IncludeAvatar && m.AvatarFor(lookupCtx) is { } avatarUrl)
 | 
				
			||||||
 | 
					                                    ret += $"([avatar URL]({avatarUrl}))";
 | 
				
			||||||
                                else if (opts.IncludePronouns && m.PronounsFor(lookupCtx) is { } pronouns)
 | 
					                                else if (opts.IncludePronouns && m.PronounsFor(lookupCtx) is { } pronouns)
 | 
				
			||||||
                                    ret += $"({pronouns})";
 | 
					                                    ret += $"({pronouns})";
 | 
				
			||||||
                                else if (m.HasProxyTags)
 | 
					                                else if (m.HasProxyTags)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user