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