Remove duplicated ProxyName function
This commit is contained in:
parent
c780781184
commit
55b1c6499d
@ -40,10 +40,5 @@ namespace PluralKit.Core {
|
||||
}
|
||||
|
||||
[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}";
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user