feat: show member color in reply embed
This commit is contained in:
@@ -19,7 +19,9 @@ namespace PluralKit.Core
|
||||
public string? ServerAvatar { get; }
|
||||
public string? Avatar { get; }
|
||||
|
||||
|
||||
public bool AllowAutoproxy { get; }
|
||||
public string? Color { get; }
|
||||
|
||||
public string ProxyName(MessageContext ctx) => ctx.SystemTag != null
|
||||
? $"{ServerName ?? DisplayName ?? Name} {ctx.SystemTag}"
|
||||
|
@@ -64,10 +64,12 @@ create function proxy_members(account_id bigint, guild_id bigint)
|
||||
server_name text,
|
||||
display_name text,
|
||||
name text,
|
||||
|
||||
|
||||
server_avatar text,
|
||||
avatar text,
|
||||
|
||||
color char(6),
|
||||
|
||||
allow_autoproxy bool
|
||||
)
|
||||
as $$
|
||||
@@ -86,6 +88,8 @@ as $$
|
||||
member_guild.avatar_url as server_avatar,
|
||||
members.avatar_url as avatar,
|
||||
|
||||
members.color as color,
|
||||
|
||||
members.allow_autoproxy as allow_autoproxy
|
||||
from accounts
|
||||
inner join systems on systems.id = accounts.system
|
||||
|
Reference in New Issue
Block a user