Timers command shows timer ID

This commit is contained in:
SileNce5k 2023-04-29 17:20:40 +02:00
parent 2313c59a3a
commit 7aa1f43f29
No known key found for this signature in database
GPG key ID: C507260E7F2583AD

View file

@ -5,7 +5,7 @@ module.exports = {
let authorTimers = "";
client.timers.forEach(timer => {
if(timer.user === message.author.id)
authorTimers += `<t:${timer.reminderDate}:R>\n`;
authorTimers += `${timer.ID} : <t:${timer.reminderDate}:R>\n`;
});
let sendText = "" === authorTimers ? `You have no timers` : `Your timers are:\n${authorTimers}`
message.channel.send(sendText);