fix: rest put
This commit is contained in:
@@ -1 +0,0 @@
|
||||
[]
|
||||
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user