Update check if no subcommand is supplied
All checks were successful
CI / CI (push) Successful in 1m25s
All checks were successful
CI / CI (push) Successful in 1m25s
This commit is contained in:
parent
22d1cbd570
commit
425e1c3293
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ module.exports = {
|
||||||
sendText = "Please specify a time, and a message to send after the timer has finished";
|
sendText = "Please specify a time, and a message to send after the timer has finished";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if(!isNaN(parseTime(args[0], Math.floor(new Date() / 1000))))
|
if(!isNaN(parseTime(args[0], Math.floor(new Date() / 1000)) || !isNaN(args[0])))
|
||||||
sendText = await createTimer(message, args);
|
sendText = await createTimer(message, args);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue