Rewrite timer command to use JSON
* Rewrite parseTime to use seconds instead of ms * Move parseTime to timer subdirectory * Implement checkTimer and sendTimerReminder.
This commit is contained in:
parent
a4b75b0161
commit
04f39582a4
7 changed files with 55 additions and 14 deletions
3
util/timer/sendTimerReminder.js
Normal file
3
util/timer/sendTimerReminder.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
module.exports = function (client, timer) {
|
||||
client.channels.cache.get(timer.channel).send(`<@${timer.user}>, ${timer.customMessage}`);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue