Use discord formatting on acknowledgment of timer

This commit is contained in:
SileNce5k 2022-05-15 01:14:29 +02:00
parent 412b39797b
commit f3e3fd9dbc
No known key found for this signature in database
GPG key ID: C507260E7F2583AD

View file

@ -10,6 +10,6 @@ module.exports = {
setTimeout(function(){
message.channel.send(`<@${message.author.id}>, ${sendText}`);
}, time);
message.channel.send(`I will remind you in ${time / 60000} minutes`);
message.channel.send(`I will remind you in <t:${Math.floor(new Date() / 1000) + (time / 1000)}:R>`);
}
};