Remove duplicated ProxyName function

This commit is contained in:
Ske 2020-06-14 15:37:07 +02:00
parent c780781184
commit 55b1c6499d

View File

@ -40,10 +40,5 @@ namespace PluralKit.Core {
} }
[JsonIgnore] public bool HasProxyTags => ProxyTags.Count > 0; [JsonIgnore] public bool HasProxyTags => ProxyTags.Count > 0;
public string ProxyName(string systemTag, string guildDisplayName)
{
if (systemTag == null) return guildDisplayName ?? DisplayName ?? Name;
return $"{guildDisplayName ?? DisplayName ?? Name} {systemTag}";
}
} }
} }