feat: show member color in reply embed

This commit is contained in:
spiral
2021-05-01 19:20:00 +01:00
parent cf93b8b3cc
commit 517abf7ff1
3 changed files with 13 additions and 4 deletions

View File

@@ -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}"