From 86c4819f15698e15d40a20f04abbd80570883c9e Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Mon, 23 Jan 2023 01:38:49 -0500 Subject: [PATCH] Fix deploy command --- modules/_deploy-global.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/_deploy-global.js b/modules/_deploy-global.js index cd7b8ce..a225989 100644 --- a/modules/_deploy-global.js +++ b/modules/_deploy-global.js @@ -12,7 +12,7 @@ const commands = []; const commandFiles = fs.readdirSync('./slash-commands').filter(file => file.endsWith('.js')); for (const file of commandFiles) { - const command = require(`./slash-commands/${file}`); + const command = require(`../slash-commands/${file}`); if (command.data != undefined) { commands.push(command.data.toJSON()); }