Skip to content

Commit

Permalink
fix: time
Browse files Browse the repository at this point in the history
  • Loading branch information
xhyrom committed Feb 9, 2022
1 parent 37c83bd commit 55c08fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/handlers/MessageCommandHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ const checkValidation = async(arg: MessageArgumentTypes, content: string, client
}
}

if (!content) return channel.send(`${user.toString()}, Time :(`);

const validate = arg.validate(content);
if (!validate) return checkValidation(arg, null, client, guild, argument, channel, user);

Expand Down

0 comments on commit 55c08fc

Please sign in to comment.