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
|
@ -1,4 +1,5 @@
|
|||
const loadServerPrefixes = require('../util/loadServerPrefixes');
|
||||
const checkTimer = require('../util/timer/checkTimer');
|
||||
const updatePresence = require('../util/updatePresence');
|
||||
|
||||
module.exports = function(client, enableLoginMessage, loginChannel, loginMessage) {
|
||||
|
@ -12,4 +13,5 @@ module.exports = function(client, enableLoginMessage, loginChannel, loginMessage
|
|||
console.log("Failed trying to send a message on login.\n")
|
||||
}
|
||||
loadServerPrefixes(client)
|
||||
checkTimer(client);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue