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
No known key found for this signature in database
GPG key ID: A6059F0CA0E1BD31
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}"