Move require line to inside the function
This commit is contained in:
parent
8a69212515
commit
0c0e4d40c3
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
const checkTimer = require('./checkTimer')
|
||||
const sendTimerReminder = require('./sendTimerReminder')
|
||||
module.exports = function (client) {
|
||||
const checkTimer = require('./checkTimer')
|
||||
client.timers.forEach(timer => {
|
||||
if(parseInt(timer.reminderDate) >= Math.floor(new Date() / 1000)){
|
||||
sendTimerReminder(client, timer);
|
||||
|
|
Loading…
Add table
Reference in a new issue