Put member name in code block in lookup error message

This commit is contained in:
Ske 2019-07-18 14:00:30 +02:00
parent 483611702e
commit 63cdb43496

View File

@ -160,7 +160,7 @@ namespace PluralKit.Bot
// do a standard by-hid search. // do a standard by-hid search.
var foundByHid = await members.GetByHid(input); var foundByHid = await members.GetByHid(input);
if (foundByHid != null) return TypeReaderResult.FromSuccess(foundByHid); if (foundByHid != null) return TypeReaderResult.FromSuccess(foundByHid);
return TypeReaderResult.FromError(CommandError.ObjectNotFound, $"Member '{input}' not found."); return TypeReaderResult.FromError(CommandError.ObjectNotFound, $"Member with ID `{input}` not found.");
} }
} }