mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix: show correct name in entityReference when base name is private
This commit is contained in:
parent
47e501da81
commit
375758206e
8 changed files with 72 additions and 68 deletions
|
|
@ -170,11 +170,11 @@ public static class Errors
|
|||
public static PKError ProxyTagDoesNotExist(ProxyTag tagToRemove, PKMember member) => new(
|
||||
$"That member does not have the proxy tag {tagToRemove.ProxyString.AsCode()}. The member currently has these tags: {member.ProxyTagsString()}");
|
||||
|
||||
public static PKError LegacyAlreadyHasProxyTag(ProxyTag requested, PKMember member) => new(
|
||||
$"This member already has more than one proxy tag set: {member.ProxyTagsString()}\nConsider using the {$"pk;member {member.Reference()} proxy add {requested.ProxyString}".AsCode()} command instead.");
|
||||
public static PKError LegacyAlreadyHasProxyTag(ProxyTag requested, PKMember member, Context ctx) => new(
|
||||
$"This member already has more than one proxy tag set: {member.ProxyTagsString()}\nConsider using the {$"pk;member {member.Reference(ctx)} proxy add {requested.ProxyString}".AsCode()} command instead.");
|
||||
|
||||
public static PKError EmptyProxyTags(PKMember member) => new(
|
||||
$"The example proxy `text` is equivalent to having no proxy tags at all, since there are no symbols or brackets on either end. If you'd like to clear your proxy tags, use `pk;member {member.Reference()} proxy clear`.");
|
||||
public static PKError EmptyProxyTags(PKMember member, Context ctx) => new(
|
||||
$"The example proxy `text` is equivalent to having no proxy tags at all, since there are no symbols or brackets on either end. If you'd like to clear your proxy tags, use `pk;member {member.Reference(ctx)} proxy clear`.");
|
||||
|
||||
public static PKError GenericCancelled() => new("Operation cancelled.");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue