fix(bot): format ids correctly in a few places

This commit is contained in:
alyssa 2024-05-11 21:32:16 +09:00
parent f6fceffc3f
commit c3a30a59cd
7 changed files with 13 additions and 13 deletions

View file

@ -120,8 +120,8 @@ public static class Errors
public static PKError UrlTooLong(string url) =>
new($"The given URL is too long ({url.Length}/{Limits.MaxUriLength} characters).");
public static PKError AccountInOtherSystem(PKSystem system) =>
new($"The mentioned account is already linked to another system (see `pk;system {system.Hid}`).");
public static PKError AccountInOtherSystem(PKSystem system, SystemConfig config) =>
new($"The mentioned account is already linked to another system (see `pk;system {system.DisplayHid(config)}`).");
public static PKError SameSwitch(ICollection<PKMember> members, LookupContext ctx)
{