mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 04:25:01 +00:00
almeida review.mp4
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
e0637a206f
commit
2b5a5e636a
18 changed files with 29 additions and 36 deletions
|
@ -46,7 +46,7 @@ export const CasesUserCmd = modActionsCmd({
|
|||
const user =
|
||||
(await resolveMember(pluginData.client, pluginData.guild, args.user)) ||
|
||||
(await resolveUser(pluginData.client, args.user));
|
||||
if (!user.id || user instanceof UnknownUser) {
|
||||
if (user instanceof UnknownUser) {
|
||||
sendErrorMessage(pluginData, msg.channel, `User not found`);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue