mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-05 05:17:54 +00:00
Put member name in code block in lookup error message
This commit is contained in:
parent
483611702e
commit
63cdb43496
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ namespace PluralKit.Bot
|
|||
// do a standard by-hid search.
|
||||
var foundByHid = await members.GetByHid(input);
|
||||
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.");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue