From d992598dc9f3ed242ce5b4ea59d517e6c429fdac Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Sun, 15 May 2022 00:48:27 +0200 Subject: [PATCH] No need to have function name thing --- commands/misc/timer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/misc/timer.js b/commands/misc/timer.js index c5d169d..504eccc 100644 --- a/commands/misc/timer.js +++ b/commands/misc/timer.js @@ -6,7 +6,7 @@ module.exports = { return message.channel.send("Please specify a time in minutes, and a message to send after the timer has finished"); let time = args[0] * 60000; let sendText = args.slice(1).join(" "); - let timer = setTimeout(function(){ + setTimeout(function(){ message.channel.send(`<@${message.author.id}>, ${sendText}`); }, time); message.channel.send(`I will remind you in ${time / 60000} minutes`);