From c29e5a6d9351c7cda6f3227dde06d6a08a7e9daa Mon Sep 17 00:00:00 2001 From: Taken Date: Sun, 2 Apr 2023 10:25:05 +0200 Subject: [PATCH] Update to reload --- commands/devel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/devel.js b/commands/devel.js index 86847cd..bedbb4d 100644 --- a/commands/devel.js +++ b/commands/devel.js @@ -68,7 +68,7 @@ module.exports = { return } - const child = spawn('pm', ['restart 0'], {}) + const child = spawn('pm restart 0', {}) if (child.stderr) { await interaction.editReply({ content: 'Error restarting bot.', ephemeral: true })