Subtract 10 on reminder pre-message

This commit is contained in:
SileNce5k 2022-06-09 19:31:30 +02:00
parent 5bb6acc9e4
commit 1fe63da38e
No known key found for this signature in database
GPG key ID: C507260E7F2583AD

View file

@ -25,6 +25,6 @@ module.exports = {
} }
client.timers.push(newTimer); client.timers.push(newTimer);
fs.writeFileSync('data/timers.json', JSON.stringify(client.timers, null, 4)) fs.writeFileSync('data/timers.json', JSON.stringify(client.timers, null, 4))
message.channel.send(`I will remind you <t:${reminderTime}:R>`); message.channel.send(`I will remind you <t:${reminderTime - 10}:R>`);
} }
}; };