From d0af91dda4e3a09f00f076608d7034f7a968837c Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Fri, 17 Jun 2022 17:43:25 +0200 Subject: [PATCH] Add response for if you don't have any timers --- commands/misc/timers.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/misc/timers.js b/commands/misc/timers.js index 0cc1329..a3ba7ca 100644 --- a/commands/misc/timers.js +++ b/commands/misc/timers.js @@ -7,6 +7,7 @@ module.exports = { if(timer.user === message.author.id) authorTimers += `\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); } }; \ No newline at end of file