From 065acf5ec32dc5bb6eaa626a59af96b2a60ddcd2 Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Thu, 9 Jun 2022 19:17:52 +0200 Subject: [PATCH] Fix wrong path --- 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 f745f74..2582e51 100644 --- a/commands/misc/timer.js +++ b/commands/misc/timer.js @@ -24,7 +24,7 @@ module.exports = { "customMessage": `${customMessage}` } client.timers.push(newTimer); - fs.writeFileSync('../../data/timers.json', JSON.stringify(client.timers, null, 4)) + fs.writeFileSync('data/timers.json', JSON.stringify(client.timers, null, 4)) message.channel.send(`I will remind you `); } }; \ No newline at end of file