From 974677b463639689a6216845dac3c0f5ac3d7472 Mon Sep 17 00:00:00 2001 From: Hare Date: Tue, 22 Oct 2024 19:11:45 +0900 Subject: [PATCH] fix: rest put --- config.json | 1 - src/index.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 config.json diff --git a/config.json b/config.json deleted file mode 100644 index 0637a08..0000000 --- a/config.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index 700d508..7e5bb89 100644 --- a/src/index.ts +++ b/src/index.ts @@ -17,7 +17,7 @@ import commands from "./context_commands.ts"; const rest = new REST({ version: "10" }).setToken(TOKEN); try { console.log("refreshing slash commands..."); - // await rest.put(Routes.applicationCommands(CLIENT_ID), { body: commands }); + await rest.put(Routes.applicationCommands(CLIENT_ID), { body: commands }); console.log("OK"); } catch (error) { console.error(error);