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);
|
const rest = new REST({ version: "10" }).setToken(TOKEN);
|
||||||
try {
|
try {
|
||||||
console.log("refreshing slash commands...");
|
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");
|
console.log("OK");
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
|
|||||||
Reference in New Issue
Block a user