Fix timer show command failing

This commit is contained in:
SileNce5k 2023-06-01 12:30:01 +02:00
parent 3dd47c1294
commit b0e9f88879
No known key found for this signature in database
GPG key ID: 961132EB78C8915F

View file

@ -14,7 +14,7 @@ module.exports = async function (authorID, timerID) {
if(timer === undefined){
sendText = "Timer not found";
}else{
sendText = `${timer.ID} will remind you <t:${timer.reminderDate.toFixed(0)}:R> (<t:${timer.reminderDate.toFixed(0)}:f>)"`;
sendText = `${timer.ID} will remind you <t:${timer.reminderTime.toFixed(0)}:R> (<t:${timer.reminderTime.toFixed(0)}:f>)`;
}
resolve();
}