From db5d8f3e7a75b64a16dd7331baa27ed1db7e01e6 Mon Sep 17 00:00:00 2001 From: Chaiwat Suwannarat Date: Fri, 3 May 2024 00:37:43 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=81=20Change=20name=20path?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/events/interactionCreate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/events/interactionCreate.js b/source/events/interactionCreate.js index 39b010c9..dca932a0 100644 --- a/source/events/interactionCreate.js +++ b/source/events/interactionCreate.js @@ -110,7 +110,7 @@ module.exports = { `No command matching ${commandName} was found.` ) - executeCommand(command, 'command') + executeCommand(command, 'commands') } if (interaction.isAutocomplete()) { const commandName = interaction.commandName @@ -136,7 +136,7 @@ module.exports = { `No context matching ${contextName} was found.` ) - executeCommand(context, 'context') + executeCommand(context, 'contexts') } }, }