From 1e0cf295482b6b9a916f47cc92190099a4ed6678 Mon Sep 17 00:00:00 2001 From: Starman <30315137+Starman3787@users.noreply.github.com> Date: Fri, 18 Oct 2024 06:37:34 +0100 Subject: [PATCH] Update validate-slash_commands.js --- .github/scripts/validate-slash_commands.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/scripts/validate-slash_commands.js b/.github/scripts/validate-slash_commands.js index 6d24e90..a1d90df 100644 --- a/.github/scripts/validate-slash_commands.js +++ b/.github/scripts/validate-slash_commands.js @@ -13,6 +13,7 @@ try { const languageMap = JSON.parse(conversionData); Object.entries(languageMap).forEach(([key, value]) => { + value = value.code; const directory = join(baseDirectory, value, "slash_commands"); if (!existsSync(directory)) { console.log(