Show custom message when showing timer

This commit is contained in:
SileNce5k 2023-06-30 18:27:35 +02:00
parent 5c2314936f
commit 7fef3eefce
No known key found for this signature in database
GPG key ID: C507260E7F2583AD

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.reminderTime.toFixed(0)}:R> (<t:${timer.reminderTime.toFixed(0)}:f>)`;
sendText = `${timer.ID} will remind you <t:${timer.reminderTime.toFixed(0)}:R> (<t:${timer.reminderTime.toFixed(0)}:f>), with the message being:\n${timer.customMessage}`;
}
resolve();
}