Add disabling front/latch autoproxy per-member

This commit is contained in:
spiral
2020-11-20 16:40:36 -05:00
parent 7f82a3e63a
commit 41247c68a6
11 changed files with 62 additions and 5 deletions

View File

@@ -19,6 +19,8 @@ namespace PluralKit.Core
public string? ServerAvatar { get; }
public string? Avatar { get; }
public bool AllowAutoproxy { get; }
public string ProxyName(MessageContext ctx) => ctx.SystemTag != null
? $"{ServerName ?? DisplayName ?? Name} {ctx.SystemTag}"
: ServerName ?? DisplayName ?? Name;