mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-14 17:50:13 +00:00
Remove duplicated ProxyName function
This commit is contained in:
parent
c780781184
commit
55b1c6499d
1 changed files with 0 additions and 5 deletions
|
|
@ -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}";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue