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);