Show timer message on timers command
This commit is contained in:
parent
354d4cd098
commit
a098ab6616
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ module.exports = {
|
||||||
let authorTimers = "";
|
let authorTimers = "";
|
||||||
client.timers.forEach(timer => {
|
client.timers.forEach(timer => {
|
||||||
if(timer.user === message.author.id)
|
if(timer.user === message.author.id)
|
||||||
authorTimers += `${timer.ID} : <t:${timer.reminderDate}:R>\n`;
|
authorTimers += `${timer.ID} : <t:${timer.reminderDate}:R> | ${timer.customMessage}\n`;
|
||||||
});
|
});
|
||||||
let sendText = "" === authorTimers ? `You have no timers` : `Your timers are:\n${authorTimers}`
|
let sendText = "" === authorTimers ? `You have no timers` : `Your timers are:\n${authorTimers}`
|
||||||
message.channel.send(sendText);
|
message.channel.send(sendText);
|
||||||
|
|
Loading…
Add table
Reference in a new issue