From 201893533b278a81391ed398e3379af325a24888 Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Sun, 18 Jul 2021 15:05:29 +0200 Subject: [PATCH] Fix custom command Issue was caused by wrong path. --- commands/misc/custom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/misc/custom.js b/commands/misc/custom.js index 3b1f096..b5a8b05 100644 --- a/commands/misc/custom.js +++ b/commands/misc/custom.js @@ -18,7 +18,7 @@ module.exports = { "custom variables - list all variables you can use" ], execute({message, args, client, prefix, owners}) { - const customPath = '../../data/customCommands.json'; + const customPath = 'data/customCommands.json'; if(!fs.existsSync(customPath)){ fs.writeFileSync(customPath,"[]") }