Add response for if you don't have any timers
This commit is contained in:
parent
d115ba214b
commit
d0af91dda4
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@ module.exports = {
|
|||
if(timer.user === message.author.id)
|
||||
authorTimers += `<t:${timer.reminderDate}:R>\n`;
|
||||
});
|
||||
message.channel.send(`Your timers are:\n${authorTimers}`);
|
||||
let sendText = "" === authorTimers ? `You have no timers` : `Your timers are:\n${authorTimers}`
|
||||
message.channel.send(sendText);
|
||||
}
|
||||
};
|
Loading…
Add table
Reference in a new issue