Timers command shows timer ID
This commit is contained in:
parent
2313c59a3a
commit
7aa1f43f29
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue