From 6d609be8cbd6a026787fff9c6e73c311796fb19f Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Sun, 14 Aug 2022 23:09:26 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/Owner/reload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/Owner/reload.js b/commands/Owner/reload.js index 7eb020f4..3a4445a6 100644 --- a/commands/Owner/reload.js +++ b/commands/Owner/reload.js @@ -38,7 +38,7 @@ class Reload extends BaseCommand { async execute(client, interaction) { const command = interaction.options.getString("command"); const cmd = client.commands.get(command); - if (!cmd) return interaction.error("owner/reload:NOT_FOUND", { search: command }, { ephemeral: true }); + if (!cmd) return interaction.error("owner/reload:NOT_FOUND", { command }, { ephemeral: true }); await client.unloadCommand(`../commands/${cmd.category}`, cmd.command.name); await client.loadCommand(`../commands/${cmd.category}`, cmd.command.name);