mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
Add switch commands for adding and moving
This commit is contained in:
parent
4c6790432b
commit
7e9b7dcc98
7 changed files with 302 additions and 10 deletions
|
|
@ -118,7 +118,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 not found.");
|
||||
return TypeReaderResult.FromError(CommandError.ObjectNotFound, $"Member '{input}' not found.");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue